[Boost-bugs] [Boost C++ Libraries] #1507: [variant] C4512 warnings from VC8.0

Subject: [Boost-bugs] [Boost C++ Libraries] #1507: [variant] C4512 warnings from VC8.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-08 00:42:30


#1507: [variant] C4512 warnings from VC8.0
---------------------------------------------------------+------------------
 Reporter: Richard Webb <richard.webb_at_[hidden]> | Owner: ebf
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: variant
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
---------------------------------------------------------+------------------
 Variant produces a number of C4512 (assignment operator could not be
 generated) warnings when used in VC8 with warning level 4/code analysis
 enabled:

 {{{
 boost\variant\detail\apply_visitor_delayed.hpp(75) : warning C4512:
 'boost::apply_visitor_delayed_t<Visitor>' : assignment operator could not
 be generated

 boost\variant\variant.hpp(894) : warning C4512:
 'boost::detail::variant::invoke_visitor<Visitor>' : assignment operator
 could not be generated

 boost\variant\variant.hpp(1544) : warning C4512:
 'boost::variant<T0_,T1,T2>::assigner' : assignment operator could not be
 generated

 boost\variant\variant.hpp(650) : warning C4512:
 'boost::detail::variant::backup_assigner<Variant,RhsT>' : assignment
 operator could not be generated
 }}}

 The attached patch silences the warnings that i'm seeing in my project.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1507>
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:49:57 UTC