c++.stlsoft - Bug or change in the 1.8.1 release of string_tokeniser
- Pablo Aguilar (31/32) Sep 29 2004 I have the following code:
- Matthew (4/22) Sep 29 2004 Hmmm. That's not good!
- Matthew (7/39) Sep 29 2004 This is an issue that I've been needing to get sorted in a long while, w...
- Pablo Aguilar (1/9) Sep 29 2004 Skills... hmm... I just press F7 and the bugs come out on their own! ;-)...
- Matthew (6/16) Sep 29 2004 LOL!
I have the following code: tokenizer toks(m_line.substr(0, pos), '*'); tokenizer::const_iterator it(toks.begin()); assert(it != toks.end()); Where m_line is an std::string member variable, tokenizer is: typedef stlsoft_ns_qual(string_tokeniser)< std::string , char , stlsoft_ns_qual(string_tokeniser_ignore_blanks)<false>tokenizer;The code used to compile with 1.7.1... and I hadn't recompiled it with 1.8.1 'till today, and found out that I now get an ambiguous constructor call on the first line. I went to the stlsoft_string_tokeniser.h file, and commented out the constructor at line 400, and my code compiles again. BTW, the comments for that constructor seem to be leftover comments from what's probably a file search. Attached is a trimmed down test file compile with: cl -GX test.cpp I'm using MS VC++ 6.0 SP 6 / WinXP SP 2 begin 666 test.cpp M(VEN8VQU9&4 /'-T<FEN9SX-"B-I;F-L=61E(#QC87-S97 M<W1L<V]F=%]N<U]Q=6%L*'-T<FEN9U]T;VME;FES97(I/ T*(" (" <W1D M.CIS=')I;F<-"B (" L(&-H87(-"B (" L('-T;'-O9G1?;G-?<75A;"AS M=')I;F=?=&]K96YI<V5R7VEG;F]R95]B;&%N:W,I/&9A;'-E/ T*/B!T;VME M(" ('-T9#HZ<W1R:6YG(&U?;&EN93L-" T*(" ('1O:V5N:7IE<B!T;VMS M*&U?;&EN92YS=6)S='(H,"P <&]S*2P )RHG*3L-"B ("!T;VME;FEZ97(Z ` end
Sep 29 2004
Hmmm. That's not good! I'll investigate. Sorry for the hassles. "Pablo Aguilar" <paguilarg hotmail.com> wrote in message news:cjf42t$1egi$1 digitaldaemon.com...I have the following code: tokenizer toks(m_line.substr(0, pos), '*'); tokenizer::const_iterator it(toks.begin()); assert(it != toks.end()); Where m_line is an std::string member variable, tokenizer is: typedef stlsoft_ns_qual(string_tokeniser)< std::string , char , stlsoft_ns_qual(string_tokeniser_ignore_blanks)<false>tokenizer;The code used to compile with 1.7.1... and I hadn't recompiled it with 1.8.1 'till today, and found out that I now get an ambiguous constructor call on the first line. I went to the stlsoft_string_tokeniser.h file, and commented out the constructor at line 400, and my code compiles again. BTW, the comments for that constructor seem to be leftover comments from what's probably a file search. Attached is a trimmed down test file compile with: cl -GX test.cpp I'm using MS VC++ 6.0 SP 6 / WinXP SP 2
Sep 29 2004
This is an issue that I've been needing to get sorted in a long while, with a proper STLSOFT_CF_MEMBER_TEMPLATE_OVERLOAD_DISCRIMINATED symbol, or some such, so I guess now's the time. I need to release a 1.8.2 shortly, as there've been some other fixes, which other libs about to be released depend on, so hopefully I can roll this all in together. Thanks again for your excellent spotting and diagnosis skills. ;-) Matthew "Matthew" <admin.hat stlsoft.dot.org> wrote in message news:cjf9jo$1ieo$1 digitaldaemon.com...Hmmm. That's not good! I'll investigate. Sorry for the hassles. "Pablo Aguilar" <paguilarg hotmail.com> wrote in message news:cjf42t$1egi$1 digitaldaemon.com...I have the following code: tokenizer toks(m_line.substr(0, pos), '*'); tokenizer::const_iterator it(toks.begin()); assert(it != toks.end()); Where m_line is an std::string member variable, tokenizer is: typedef stlsoft_ns_qual(string_tokeniser)< std::string , char , stlsoft_ns_qual(string_tokeniser_ignore_blanks)<false>tokenizer;The code used to compile with 1.7.1... and I hadn't recompiled it with 1.8.1 'till today, and found out that I now get an ambiguous constructor call on the first line. I went to the stlsoft_string_tokeniser.h file, and commented out the constructor at line 400, and my code compiles again. BTW, the comments for that constructor seem to be leftover comments from what's probably a file search. Attached is a trimmed down test file compile with: cl -GX test.cpp I'm using MS VC++ 6.0 SP 6 / WinXP SP 2
Sep 29 2004
This is an issue that I've been needing to get sorted in a long while, with a proper STLSOFT_CF_MEMBER_TEMPLATE_OVERLOAD_DISCRIMINATED symbol, or some such, so I guess now's the time. I need to release a 1.8.2 shortly, as there've been some other fixes, which other libs about to be released depend on, so hopefully I can roll this all in together. Thanks again for your excellent spotting and diagnosis skills. ;-) MatthewSkills... hmm... I just press F7 and the bugs come out on their own! ;-)
Sep 29 2004
"Pablo Aguilar" <paguilarg hotmail.com> wrote in message news:cjfm6k$1nsq$1 digitaldaemon.com...LOL! Ok, I've done the update. I'll attempt to post a patch next week. Thanks again for the feedback. Cheers MatthewThis is an issue that I've been needing to get sorted in a long while, with a proper STLSOFT_CF_MEMBER_TEMPLATE_OVERLOAD_DISCRIMINATED symbol, or some such, so I guess now's the time. I need to release a 1.8.2 shortly, as there've been some other fixes, which other libs about to be released depend on, so hopefully I can roll this all in together. Thanks again for your excellent spotting and diagnosis skills. ;-) MatthewSkills... hmm... I just press F7 and the bugs come out on their own! ;-)
Sep 29 2004