|
Boost : |
Subject: [boost] [type_erasure] move
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2013-07-29 15:37:48
Hi Steven,
I'm looking for a crash I get in my own code with g++4.8.1 (4.5 - 4.7 are
ok). Maybe you can help me:
- there is a copy_constructible concept, but no moveable. Is it enough to
add one on the same model? It looks like you std::forward so I'd say yes.
Correct?
template<class T = _self>
struct move_constructible :
::boost::mpl::vector<constructible<T(T&&)>, destructible<T> >
{};
- If I std::move a copy_constructible any type by accident, what do I get?
A copy? A crash?
Thanks,
Christophe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk