[Boost-bugs] [Boost C++ Libraries] #6920: interprocess::string error under vs2005

Subject: [Boost-bugs] [Boost C++ Libraries] #6920: interprocess::string error under vs2005
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-20 10:38:13


#6920: interprocess::string error under vs2005
---------------------------------+------------------------------------------
 Reporter: lv.jcfly@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: interprocess string |
---------------------------------+------------------------------------------
 {{{
 #include <boost/interprocess/containers/string.hpp>

 struct Test
 {
         boost::interprocess::string s;
 };

 int main()
 {
         {
                 Test const test;
                 Test test2 = test; // ok

                 test2 = test; // error C2679
         }

         {
                 boost::interprocess::string const test; // ok
                 boost::interprocess::string test2 = test; // ok

                 test2 = test; // ok
         }

         return 0;
 }

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6920>
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:09 UTC