[C++-sig] Re: Problem with BPL from cvs
David Abrahams
dave at boost-consulting.com
Thu Aug 7 21:02:30 CEST 2003
Nikolay Mladenov <nickm at sitius.com> writes:
> I started building with very recent version from the cvs,
> and something that was building 1_29_0 now fails.
> I have a small example that duplicates it.
> Tried compiling with MSVC 6.5 with and without STLPort-4.5.3
>
> //////////////////////////////////////////////////
> class OBJ{
> public :
> class PROP{};
> PROP prop() const;
> };
>
> #include <boost/python.hpp>
>
> using namespace boost::python;
> object get_prop(const OBJ &o)
> {
> return o.prop();
^^^^^^^^
object(o.prop())
The object constructor is explicit.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list