|
Boost Users : |
Subject: [Boost-users] [config] Macro to detect no implicitly movable?
From: TONGARI J (tongari95_at_[hidden])
Date: 2014-02-19 08:36:01
Hi,
Some compilers support r-value reference while not providing
implicitly-defined move ctor/assign (e.g. VC10), is there a way to detect
this defect?
Macro like BOOST_NO_IMPLICITLY_MOVABLE would be helpful.
Is "defined(BOOST_NO_CXX11_RVALUE_REFERENCES) ||
defined(BOOST_NO_CXX11_DELETED_FUNCTIONS)" good enough?
Thanks,
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net