• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//  (C) Copyright Beman Dawes 2009
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_HDR_UNORDERED_SET
10//  TITLE:         C++0x header <unordered_set> unavailable
11//  DESCRIPTION:   The standard library does not supply C++0x header <unordered_set>
12
13#include <unordered_set>
14
15namespace boost_no_cxx11_hdr_unordered_set {
16
17int test()
18{
19  std::unordered_set<int> s1;
20  std::unordered_multiset<int> s2;
21  return s1.empty() && s2.empty() ? 0 : 1;
22}
23
24}
25