Subject: [Boost-bugs] [Boost C++ Libraries] #5487: Trying to get<nullptr_t> from a variant results in error with vs10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-18 22:49:45
#5487: Trying to get<nullptr_t> from a variant results in error with vs10
-----------------------------------------+----------------------------------
Reporter: dd0t@⦠| Owner: ebf
Type: Bugs | Status: new
Milestone: To Be Determined | Component: variant
Version: Boost 1.46.1 | Severity: Problem
Keywords: nullptr_t variant addressof |
-----------------------------------------+----------------------------------
Trying to retrieve a nullptr_t type object from a boost variant with
get<std::nullptr_t> on vs 2010 sp1 results in a:
error C2666: 'boost::detail::addressof_impl<T>::f' : 2 overloads have
similar conversions
error. The same code compiles fine on gcc 4.6.0.
See attached minimal sample.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5487> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC