|
|
 |
boost
[boost] [1.31 RC] optional and BCB 6.4
by Pavel Vozenilek other posts by this author
Jan 14 2004 11:14AM messages near this date
[boost] Re: Boost.Thread : Memory leakage with thread local storage?
|
[boost] Re: [1.31 RC] more of optional and BCB 6.4
BCB 6.4:
char text[260];
boost::optional<AnsiString> (text);
fails with error message:
[C++ Error] optional.hpp(419): E2285 Could not find a match for
'optional_detail::optional_base<AnsiString> ::optional_base(const char
*,const char *)'
Full parser context
optional.hpp(419): decision to instantiate:
optional<AnsiString> ::optional(char ( &) const[260])
--- Resetting parser context for instantiation...
shell_extension_folder_browser.cpp(3): #include C:\G\src\common.h
common.h(60): #include C:\boost\boost_1_31_0_rc1\boost/optional.hpp
optional.hpp(78): namespace boost
optional.hpp(363): class optional<T>
optional.hpp(419): parsing: optional<AnsiString> ::optional(char ( &)
const[260])
It worked in 1.30.2.
Using:
boost::optional<AnsiString> (AnsiString(text));
fixes it but maybe it should work off the shelf.
/Pavel
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Pavel Vozenilek
Pavel Vozenilek
Fernando Cacciola
Fernando Cacciola
|
|
|
 |
|