From: Frank Birbacher on 20 Dec 2009 11:02 Hi! ManicQin schrieb: > while using boost::operators I bump into a stack overflow. To me it was too complicated to understand. Since someone already found the solution, you should be fine. Just a word about searching (although this is not about C++ specifically, it might help people with stack overflows): > p.s. since http://stackoverflow.com is online you > cant really Google anything that has the phrase > "stack overflow" ... You can use the "phrase" -site:stackoverflow.com with your search request to skip all results from that site. Frank -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]
From: ManicQin on 20 Dec 2009 22:04 On Dec 21, 6:02 am, Frank Birbacher <bloodymir.c...(a)gmx.net> wrote: > > To me it was too complicated to understand. Since someone already found > the solution, you should be fine. Just a word about searching (although > this is not about C++ specifically, it might help people with stack > overflows): > > > p.s. sincehttp://stackoverflow.comis online you > > cant really Google anything that has the phrase > > "stack overflow" ... > > You can use the "phrase" > -site:stackoverflow.com > with your search request to skip all results from that site. > > Frank Hi, thanks Yechezkel. I agree that "freeing" the operators is better but I have specializations according to is_integral and is_class<string> so it seemed better to "hold" the implementation according to the specialization and not as friends. Thanks Frank, I did try -stackoverflow.com without the "site" and it didn't work but good to know the correct form. -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]
First
|
Prev
|
Pages: 1 2 Prev: ISO C++ forbids initialization in array new Next: extern versus #include |