small error within implicitly_convertible example
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
Roman Yakovenko <roman.yakovenko@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
participants (2)
-
David Abrahams -
Roman Yakovenko