1// (C) Copyright Andrzej Krzemienski 2018 2 3// Use, modification and distribution are subject to the 4// Boost Software License, Version 1.0. (See accompanying file 5// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 7// See http://www.boost.org/libs/config for more information. 8 9// MACRO: BOOST_NO_CXX11_DEFAULTED_MOVES 10// TITLE: C++0x defaulting of move constructor/assignment unavailable 11// DESCRIPTION: The compiler does not support C++0x defaulting of move constructor/assignment 12 13namespace boost_no_cxx11_defaulted_moves { 14 15 struct foo { 16 foo(foo&&) = default; 17 foo& operator=(foo&&) = default; 18 }; 19 20 int test() 21 { 22 return 0; 23 } 24 25} 26