1 problems with polymorphism and inheritance with templatesThis code: template class Foo { public: T* member; class Base { typedef Foo BaseFoo; class Derived { typedef Foo D... 5 days ago From C++ Users Group 1 assignment of std::valarrayHi all. Im trying to parse the C++0x documentation related to the assignment of std::valarray. This code is tested under g... 8 days ago From C++ Users Group 1 Any news?Hi @all, I just wanted to know if there is any news on this topic. In my opinion, cv-qualified constructors would be a nice... 13 days ago From C++ Users Group Today's Top 40 Channels
1 Output order for cout << "Hello, " << "world!" ?Hello Is it true that the language does not actually guarantee the output order for cout like it could possibly output &q... 14 days ago From C++ Users Group 1 copy constructor elisionclass A { class B : public A { B(const B& other); public: explicit B(){} int main() { A const & a = B(); // L1 A a2 = ... 22 days ago From C++ Users Group 1 Digital Mars C/C++ Compiler: test resultsI have tested free Digital Mars C/C++ Compiler v. 8.52 from [link] The results were impressive, so I decided to show here h... 22 days ago From C++ Users Group 1 Set implementation in STLHow are sets generally implemented in STL. I have read they are implemented as BST, are they some kind of balanced BST like ... 26 days ago From C++ Users Group 1 Prefer Using Futures or Callbacks to Communicate Asynchronous ResultsHandling asynchronous communication back to the caller 22 days ago From Dr.Dobb's: C++ |
1 Research projects aim to drive the development of a more robust, secure, and reliable Internet About 13 hours ago From Dr.Dobb's: C++ 1 Array Building Blocks: A Flexible Parallel Programming Model for Multicore an...Array Building Blocks provides developers with advanced data-parallel programming capabilities 1 day ago From Dr.Dobb's: C++ 1 No End to DLL Hell!DLL Hell is back on the Windows programming scene -- and with a vengence 1 day ago From Dr.Dobb's: C++ 1 Overloading macrosThe feature of function overloading can prove to be pretty useful: it allows us to define a few versions of the same function... 2 days ago From cplusplus.co.il 1 Passing "empty" types as parametersHello, What is the recommended way to pass "empty" types as parameters? By empty I mean that they have no fields ... 4 days ago From C++ Users Group 1 ANN: new release of fructose with support for hamcrest matchersThis is to announce a new release of FRUCTOSE, a C++ unit test framework. It is very cutdown compared to CppUnit and is desi... 4 days ago From C++ Users Group 1 This Week's Developer Reading ListAmazon SimpleDB, Git, Ruby and Rails 4 days ago From Dr.Dobb's: C++ 1 Undefined behavior on integer literals overflow ?Hello I have been reading through the C++ standard and I am surprised to see that users ought to make sure that integer lite... 5 days ago From C++ Users Group 1 Is there a way to create a file stream from a C stream (a FILE *) ?Hello The C language has a function tmpfile() that just opens a temporary file for reading and writing that has the propert... 5 days ago From C++ Users Group 1 std::accum w/ unary opI just had quite a confusing bout with my compiler, until I realized that the following wasn't part of the standard: namesp... 5 days ago From C++ Users Group 1 C++0x standard code conversion facets and text in UTF-8 encodingI have been trying to write some code that handles reading text from text files. I would like to support UTF-8 encoding, wit... 6 days ago From C++ Users Group 1 [ANN] LibXL 3.0.1 released{ The website says this library can be used in C++. -mod } Hi, I'm pleased to announce the LibXL 3.0.1. LibXL is a library... 7 days ago From C++ Users Group 1 C++ FAQURL: [link] Archive-name: C++-FAQ ============================== ============================== ================== Content... 7 days ago From C++ Users Group 1 ParBenCCh 1.0 Parallel C++ Benchmarking SuiteA C and C++ application suite designed to characterize compiler optimization capabilities and more 8 days ago From Dr.Dobb's: C++ 1 Performance Optimization for the Atom ArchitectureThe focus of multi-core processor tuning is on the effective use of parallelism 8 days ago From Dr.Dobb's: C++ 1 Declaring a template class with two template params a friend in a non-templat...I have an abstract class: class Attribute { /* ...*/ }; Now I have another class: template class Mgr { static U *creat... 8 days ago From C++ Users Group 1 Computational Behavioral Science ProjectCarnegie Mellon joins NSF research consortium to develop tools for analyzing autism, among other behaviors 9 days ago From Dr.Dobb's: C++ 1 SMT Boosters Recognized at Verification EventHVC 2010 Award announced for five researchers who have promulgated Satisfiability Modulo Theories 9 days ago From Dr.Dobb's: C++ 1 Updated serialization performance resultsI've recently updated this page -- [link] -- with results based on Boost 1.44. The previous version of that page used Boos... 9 days ago From C++ Users Group 1 Unable to read the bits of a 'float' using char*Hello everyone, I wrote these two functions for reading the bits of a float. However, I can't figure out why the first meth... 16 days ago From C++ Users Group 1 Assigning value of unassigned iteratorHi all. I've been running c++ code under Linux gcc 2.93->4.4.3, OSX, and Windows (VisualStudio 2005-2008) for > 3 years. N... 9 days ago From C++ Users Group 1 member function as predicate{ Unintended linebreaks are removed manually. Please limit your text to 70 columns or so to prevent unintended linebreaks. -... 19 days ago From C++ Users Group 1 Sorting by a transformation functionHi, I would like to sort a vector ordered by the return value of a unary transformation function, op. The elements of the v... 16 days ago From C++ Users Group 1 Problem with printing to a fileHi, I wrote a program in which the main part is a loop with a big number of iterations (the program takes about 1 day to pe... 22 days ago From C++ Users Group 1 Shallow copyHi I am writing a library in C++. In my library I want to implement a feature that if an application programmer instantiates... 26 days ago From C++ Users Group 1 implicit copy/move constructorsI've been testing rvalues in gcc 4.5 and VC 2010 and noticed they both generated implicit copy constructors even though I pr... 17 days ago From C++ Users Group 1 returning a std::auto_ptr, a question of styleHello, I am using a class that returns a pointer to memory that I have to take charge of. I will assign it to a std::auto_p... 10 days ago From C++ Users Group 1 why allow class and typedef to use the same name?We know both class and typedef declare types. I do not understand why the same name could be used for both a class and a typ... 14 days ago From C++ Users Group 1 VptrHi! I have another naive question. I have been trying to understand the polymorphysim implementation in C++. I believe tha... 23 days ago From C++ Users Group 1 C++ template compile error on g++ 4.1.2Can anyone explain to me why the following code doesn't compile (I stripped it down from a larger multi-file application). I... 17 days ago From C++ Users Group 1 Compile error on templated STL map classI have a class template (ExclusiveMap) which takes two type parameters C1 and C2 and declares two private members map and ma... 22 days ago From C++ Users Group 1 Linkage confusion with "const" variabesI have a few questions about the linkage from the following variables. By examples of 7.1.1/7 of C++03 and experimenting wit... 12 days ago From C++ Users Group 1 Can I have your feedback on this general mix-in pattern?Hi, I needed to implement cloning and saw that I ended up with copy and paste all over the code. I thought that this should... 18 days ago From C++ Users Group 1 Should C++0x contain a distinct type for UTF-8?Hi I have posted this question to c.std.c++ a few weeks back but failed to get any useful response. So I thought I'd try a ... 11 days ago From C++ Users Group 1 Deducing the object type from a pointer to member functionI was having some fun with pointers to member functions recently, and I'm wondering if this is correct C++ (a minimal exampl... 14 days ago From C++ Users Group 1 Groups downThe groups are experiencing server problems. We expect to be back on line evening of 12 August. Messages in queues will be ... 22 days ago From C++ Users Group 1 Why does a base function hide a function in a derived class?It is normal that a function in derived class hides one in a base class. But, I could explain to myself how a base function ... 22 days ago From C++ Users Group 1 argument packs manipulationsHello, I am trying to make a class that acts like the following, but in any dimension: template struct Vec3 { T tab[3];... 14 days ago From C++ Users Group 1 C/C++ query(nested struct)In case of a nested struct, does the inner struct can access the private member of outer struct. struct str1 { private: ... 28 days ago From C++ Users Group |
1 const static data member from abstract class crashes my programHi All, Thanks in advance for any help / insight on this matter. 1) This piece of code (inside the class ReassignCaseReques... 7 days ago From C++ Users Group 1 Integral promotions for char16_t, char32_t, and wchar_tAccording to N3092 - 4.5/2, "A prvalue of type char16_t, char32_t, or wchar_t (3.9.1) can be converted to a prvalue of... 10 days ago From C++ Users Group 1 STL implementation of list::sortI was wondering how is list member function sort implemented in STL. Since list has bidirectional iterator so any of the ran... 22 days ago From C++ Users Group 1 C/C++ queryInitializing an array via a variable is restricted in C++. int a=5; int arr[a];//error I checked it in GNU compilers to my... 28 days ago From C++ Users Group 1 Hilo Update – Introducing “Hilo Annotator”In May this year, we announced Project Hilo and promised a set of cool sample applications written in C++. At that time we ha... 10 days ago From Visual C++ Team Blog 1 template function (vector vs. vector)hi, there, I have void Foo1(vector& v){ .... A.process(v[i]); .... void Foo2(vector& v){ .... A.process(v[i]); .... ... 16 days ago From C++ Users Group 1 Serious GamingGeorgia Institute of Technology incorporates "serious gaming" in research efforts 21 days ago From Dr.Dobb's: C++ |






