First  |  Prev |  Next  |  Last
Pages: 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
recommendation for second C++ book? (not a generic request)
Hi all, I'm sure that the generic recommend-a-good-C++-book type of request has been done to death; however I'm looking for a good C++ book or books with some specific criteria in mind: 1) Should be geared towards the "advanced beginner" to "intermediate" level... I realise that these are subjective terms, but... 11 Apr 2008 12:41
Demangling typeid.
Demangling in c++ is compiler-dependant. Why isn't there any proposal for an API that demangles types (typeid) to its real c++ name. I mean if you have mylib::mytype and you use typeid(mylib::mytype).name() you get a name which depends on the compiler. It would be nice to be able to do something like std::demangle(... 13 Apr 2008 19:57
C++ side effects
hi All the following comes from c++ standards: "Accessing an object designated by a volatile lvalue (3.10), modifying an object, calling a library I/O function, or calling a function that does any of those operations are all side effects, which are changes in the state of the execution environment." Accord... 9 Apr 2008 14:39
Creating own Virtual method table
Hello, I'm implementing a remote method invocation system. Each class has a dispatch method whose role is to call the appropriate instance method. The problem is that I need a generic member function pointer container and a generic way to call the method by the dispatch method. In my case all member function... 8 Apr 2008 09:11
C++ books
What are the good books for learning C++ grading from basic to advanced? { See http://www.accu.org/ for book recommendations in general. -mod } -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] ... 7 Apr 2008 17:48
instantiating an allocator with void
[I would have posted this to comp.std.c++, where it fits better, but looks like that group has been down for several weeks.] Hello, The standard default allocator std::allocator has the following explicit specialization for void to cope with the peculiarities of this type (vg. there are no references to voi... 8 Apr 2008 10:48
template class specialization trouble
This seems to work fine: template <typename A, typename B, typename C> class D { }; template <typename A, typename C> class D<A, void, C> { }; but this: template <typename A, typename B, void (A::*MF)(B)> class D { }; template <typename A, void (A::*MF)()> class D<A, void, MF> class D { }; ... 9 Apr 2008 14:39
unordered_map
Hi, I am new to boost, and to templates (feeling very comfortable with C). I am trying to use boost hash tables where the keys are char *, like: unordered_map<const char *, CMyclass *> myclass_map_t ; 1. Couldnt figure so far, how do i set a hash function that works on the string (and not on the pointer) ? ... 8 Apr 2008 14:52
deriving a class with a subset of base class methods?
Hi, Is there a C++ approach to deriving a class such that only a subset of the base class' public member functions are available to it? For a concrete example: I may wish to use STL's linked list class to create a new "specialized" linked list class in which nodes can only be added to the list according to some ... 16 Apr 2008 05:01
Composition
Dear all, I have this situation. class X { int size; T* val; ..... public: X(); X(T *, int); ... }; Parameterized constructor is X::X(T *p, int s) : size(s), val(new T[s]), { ... val =p; ... } class A { int si... 7 Apr 2008 11:27
First  |  Prev |  Next  |  Last
Pages: 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29