Files
config/test/boost_no_cxx11_hdr_unordered_set.ipp

25 lines
688 B
Plaintext
Raw Normal View History

2009-05-30 11:22:59 +00:00
// (C) Copyright Beman Dawes 2009
// 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_HDR_UNORDERED_SET
2009-05-30 11:22:59 +00:00
// TITLE: C++0x header <unordered_set> unavailable
// DESCRIPTION: The standard library does not supply C++0x header <unordered_set>
#include <unordered_set>
namespace boost_no_cxx11_hdr_unordered_set {
2009-05-30 11:22:59 +00:00
int test()
{
std::unordered_set<int> s1;
std::unordered_multiset<int> s2;
return s1.empty() && s2.empty() ? 0 : 1;
2009-05-30 11:22:59 +00:00
}
}