optional.hpp problem on AIX and fix (forwarded from boost-users)

Rich Cook wrote:
That fixed it! Thank you very much for your valuable help.
To be clear, when I replaced line 388 of optional.hpp:
get_ptr_impl()->T::~T();
with
get_ptr_impl()->~T();
My program compiled fine.
On Aug 26, 2005, at 2:20 PM, Peter Dimov wrote:
Rich Cook wrote:
Ah, but does it work on AIX? :-) Sorry, I couldn't resist. (My posts are getting ignored, so I assume nobody uses boost on AIX.
This might well be the case. Have you tried replacing the problematic
get_ptr_impl()->T::~T();
construct at line 388 of optional.hpp with
get_ptr_impl()->~T();
or perhaps
get_ptr_impl()->~value_type();
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (1)
-
Peter Dimov