forked from boostorg/config
Merge all config diffs from trunk
[SVN r62379]
This commit is contained in:
1 parent
4ce3e43a4e
commit
49e17b082e
41 files changed
+1851
-119
No files matched your search
@@ -11,11 +11,18 @@
|
||||
// DESCRIPTION: If the compiler does not support C++0x initializer lists
|
||||
|
||||
#include <initializer_list>
|
||||
#include <vector>
|
||||
|
||||
namespace boost_no_initializer_lists {
|
||||
|
||||
void f(std::initializer_list<int>)
|
||||
{
|
||||
}
|
||||
|
||||
int test()
|
||||
{
|
||||
std::vector<std::string> v{"once", "upon", "a", "time"}; // See C++ std 8.5.4
|
||||
f( { 1, 2, 3, 4 } );
|
||||
std::initializer_list<int> x = { 1, 2 };
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user