[Boost-bugs] [Boost C++ Libraries] #11731: iostreams classes do not support C++11 move semantics

Subject: [Boost-bugs] [Boost C++ Libraries] #11731: iostreams classes do not support C++11 move semantics
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-15 08:38:48


#11731: iostreams classes do not support C++11 move semantics
------------------------------------+-----------------------
 Reporter: Josh Chia <joshchia@…> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
------------------------------------+-----------------------
 At least some iostreams classes do not support C++11 move semantics.
 Attempts to "move-construct" them result in compiler errors. Such classes
 include but are probably not limited to filtering_istream.

 #include <boost/iostreams/filtering_stream.hpp>

 struct Foo {
     Foo(Foo&& o)
         : f(std::move(o.f)) { }
     boost::iostreams::filtering_istream f;
 };

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