summaryrefslogtreecommitdiff
path: root/libs/config/test/boost_no_0x_hdr_unordered_set.ipp
blob: f72f1b6aca27358ab41ace175b4714faceebb7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//  (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_0X_HDR_UNORDERED_SET
//  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_0x_hdr_unordered_set {

int test()
{
  std::unordered_set<int> s1;
  std::unordered_multiset<int> s2;
  return s1.empty() && s2.empty() ? 0 : 1;
}

}