[C++-sig] small error within implicitly_convertible example
dave at boost-consulting.com
Sun Aug 21 17:18:56 CEST 2005
Roman Yakovenko <roman.yakovenko at gmail.com> writes:
> Hi. There is an error, while compiling example:
> I've got errors on compilers: gcc 3.3 ( from debian 3.1 ) and on msvc
> 7.1 ( win XP ).
> The error caused by the fact that X::operator int() defined as non const.
> Adding const to the definition fix the problem.
Thanks, Roman! Fixed in CVS.
More information about the Cplusplus-sig