[C++-sig] small error within implicitly_convertible example
David Abrahams
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:
> http://boost.org/libs/python/doc/v2/implicit.html.
>
> 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.
>
> Roman
Thanks, Roman! Fixed in CVS.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list