b.template to_string<char, char_traits<char>, allocator<char> >()

b.template to_string<char, char_traits<char>, allocator<char> >()

Post by Deni » Sun, 04 Mar 2001 14:01:45


i was reading the bitset class chapter in "the c++ standard library: a
tutorial and reference" by Nicolai M. Josuttis, and came upon such

string bitset<bits>::to_string () const


* this function is a template function that is parameterized only my the
return type. according to the language rules, you must write the foloowing:

bitset<50> b;
b.template to_string<char, char_traits<char>, allocator<char> >()

could someone explain to me what language rule this b.template to_string..
reffers to? i looked in the 'templates' chapter in stroustrup, but could not
find much. perhaps, that's because i dont know what i am looking for.

if the explanation is long and you dont have the time, please let me know
at least where i should look...

thanks very much.



1. HELP >>>>>>>>>>>>> WINAPI <<<<<<<<<<<<<<<<<

   I need help in writting a vb program that will monitor the message
queue of another aplication that is running along with my program. Itried
to use PeekMessage api function but the help file says that it can only
peek the application's own message queue.  My program is similar in
working with SPY or the SPY++ program. Is there an api function that Ican

2. Sick MegaST4

3. >>>>>>>>> PROBLEM WITH MSICPB.EXE <<<<<<<<<<<<<<<<<

4. Windows and DOS Apps Sharing Files

5. <<<<<<Programmers Needed>>>>>>>

6. New server question

7. <<>><><><><><><><><><><>

8. DIVE in full screen?

9. <><><> www.FotoCD.net <><><>

10. ************************<<<<<<LOTUS CORP.SUCKS>>>>>*****************

11. >>>>>STUCK<<<<<< How to subclass desktop?

12. >>>>> SoftImage Animator - North West UK <<<<<<