mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Revert BOOST_NO_INITIALIZER_LISTS test case, I meant to add it to a branch.
[SVN r48938]
This commit is contained in:
@ -1,23 +0,0 @@
|
||||
// (C) Copyright Daniel James 2008.
|
||||
// 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 most recent version.
|
||||
|
||||
|
||||
// MACRO: BOOST_NO_INITIALIZER_LISTS
|
||||
// TITLE: Initializer Lists
|
||||
// DESCRIPTION: If the compiler does not support C++0x initializer lists
|
||||
|
||||
#include <initializer_list>
|
||||
|
||||
namespace boost_no_initializer_lists {
|
||||
|
||||
int test()
|
||||
{
|
||||
std::initializer_list<int> x = { 1, 2 };
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user