1 // (C) Copyright Beman Dawes 2009
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)
7 // See http://www.boost.org/libs/config for more information.
9 // MACRO: BOOST_NO_CXX11_LAMBDAS
10 // TITLE: C++0x lambda feature unavailable
11 // DESCRIPTION: The compiler does not support the C++0x lambda feature
13 #if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(BOOST_INTEL_STDCXX0X)
14 # error This feature is not available in non-C++0x mode
17 namespace boost_no_cxx11_lambdas {
27 return f([](){ return 0; });