
28 Mar
2012
28 Mar
'12
12:41 a.m.
Hello there, i am new here and i just want to say "hi". so, i'm using boost almost a year now, usually i just used the array component. latley i wanted to implement the circular_buffer. i've defined it in a class after the private-modifier like this: boost::circular_buffer<std::string> textBuffer(10); (as take from the documentation) but my compiler on minGW will throw an error. so, i guess i got something wrong in declaring a string-textbuffer with the lenght of 10?! in the boost-docs there is following example: boost::circular_buffer<int> cb(3); help is appreciated, best would be a working example and a little hint which information is may have missed. greetings tony