To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=67303
------- Additional comments from [EMAIL PROTECTED] Thu Jul 13 02:14:53 -0700
2006 -------
Strange. Looking at optional.hpp from boost 1.33.1, I see (amongst others) those
two constructors:
template<class Expr>
explicit optional ( Expr const& expr ) : base(expr,&expr) {}
and
optional ( optional const& rhs ) : base(rhs) {}
It seems your compiler picks the first one in genericcontroller.hxx:146, though
it definately should be the second one.
So, what we could do:
- define BOOST_OPTIONAL_NO_INPLACE_FACTORY_SUPPORT when working with a
system-boost version which supports this. This would probably be a
slight hack. On the other hand, I find this inplace-factory support
very strange, if it leads to this kind of errors.
- try to change genericcontroller.hxx:146 to
optional ( optional const& rhs ) : base_type( (base_type const&)rhs ) { }
(not sure if this works better than my previous attempt)
- change genericcontroller.hxx:146 to
optional ( optional const& rhs ) : base_type( *rhs ) { }
I'd not prefer this, as it includes an additional unnecessary
construction of an ::boost::optional instance. Though performance is
not a big issue in this context, it simply tastest *wrong* to do this.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]