www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - shim_string.hpp error in stlsoft 1.10.

reply Dimitri Kaparis <M8R-ndt1fx mailinator.com> writes:
Greetings,

in 1.10.alpha-12, shim_string.hpp has what appears to be a syntax error at
lines 622, 672 and 722:

return ss.empty() ? : static_cast<C const*>(0) : ss.data();

(notice the extra colon)
This breaks pantheios. After fixing these lines it builds successfully.

Regards,
Dimitri
Jan 16 2010
parent "Matt Wilson" <matthewwilson acm.org> writes:
Ouch!

Thanks for that. I've fixed it, and it'll be in the next alpha release, due 
in next few days.

Cheers

Matt

"Dimitri Kaparis" <M8R-ndt1fx mailinator.com> wrote in message 
news:hisfsh$23ab$1 digitalmars.com...
 Greetings,

 in 1.10.alpha-12, shim_string.hpp has what appears to be a syntax error at 
 lines 622, 672 and 722:

 return ss.empty() ? : static_cast<C const*>(0) : ss.data();

 (notice the extra colon)
 This breaks pantheios. After fixing these lines it builds successfully.

 Regards,
 Dimitri
 
Jan 17 2010