Prefix and postfix operation on operator ->1152 (6/28/2003 11:16:40 PM) Hi, I have a smartpointer type, where I want to perform an operation before and after each dereference. I tried the following: template class sptr { public: proxy operator -> () { return prox... Jaap
Boost Unit Test0139 (6/29/2003 10:17:28 PM) Hi, Did anybody here ever use Unit Test from Boost? If so, can you tell me, is it good? Why? what's the majoy difference between Cppunit and it? Thanks in advance. [ See http://www.gotw.ca/resources/cl... Zhao
policy container?1119 (6/26/2003 7:36:47 PM) Everyone, How can I design a container of policies? So that it can be passed as to a class ctor? Or is this even a good idea if I have 6 or more policies? Thanks, Jeff [ See http://www.gotw.ca/res... Jeffrey
Stack Overflow7130 (6/28/2003 12:45:24 PM) All right, now here's a hard one: I was making a class which implements a linked list, and I need it to have a destructor (for obvious reasons). Unfortunately, if there's too many items in the linked list, I g... MiniDisc_2k2
How to fix Undefined Reference compile error?2595 (6/27/2003 2:03:35 PM) The code can be found at: http://www.anora.org/grellsworth/muvie/index.html Just click on the "Download MUVIE Development Snapshot" link to get the Gzipped Tarball. The problem is: In Muvie.c, in main() I h... vaghn
Re: Center formatted text with streams...3203 (6/26/2003 2:09:07 PM) "GRalphE" wrote in message > If I turn on both left and right, would that produce centered text? No. > Just a lame question. No. BTW, what should this do cout << myspace::center << "he... Siemel
Need template magic (or how I learned to love template-function-scope static vars)1114 (6/27/2003 8:55:32 PM) I've been trying to come up with a way of mapping enums to strings that's usable for programmers that don't want to deal with templates. My enums are numbered 0,1,2,... so I'm not worried about duplicate keys. ... andrew_queisser
Did you ever overload operator ->* ?1124 (6/26/2003 7:16:15 PM) Hallo, As a recent posting of mine on the overloading of operator ->* went unnoticed and this topic is almost never mentioned in the literature, I was wondering if anybody ever did overload the pointer to membe... Nicola
user-defined predicate function inside class1281 (6/26/2003 10:28:30 PM) I have problem to desing the user-defined predicate function arch_Compare for Std C++ sort algorithm inside the class . The only way I found was declare this function as friend, but then m_nSortKey hav... martinasi(1)
Working with static member before main1151 (6/26/2003 7:37:31 PM) Here is some program and run results. =========================================== Windows 2000 CYGWIN_NT-5.0 1.3.22(0.78/3/2) GNU gcc version 3.2 20020927 (prerelease) =========================================... Alex