Files

25 lines
694 B
C++
Raw Permalink Normal View History

2018-01-04 00:58:32 +01:00
// (C) Copyright Andrzej Krzemienski 2018
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/config for more information.
// MACRO: BOOST_NO_CXX11_DEFAULTED_MOVES
2018-01-11 21:22:59 +01:00
// TITLE: C++0x defaulting of move constructor/assignment unavailable
// DESCRIPTION: The compiler does not support C++0x defaulting of move constructor/assignment
2018-01-04 00:58:32 +01:00
namespace boost_no_cxx11_defaulted_moves {
struct foo {
foo(foo&&) = default;
2018-01-11 21:22:59 +01:00
foo& operator=(foo&&) = default;
2018-01-04 00:58:32 +01:00
};
int test()
{
return 0;
}
}