summaryrefslogtreecommitdiff
path: root/libs/config/test/boost_no_cxx11_hdr_chrono.ipp
blob: 701b024e73b01554396ea3e6ede1de2d6fe318d6 (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
25
26
27
28
29
30
31
//  (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_CHRONO
//  TITLE:         C++0x header <chrono> unavailable
//  DESCRIPTION:   The standard library does not supply C++0x header <chrono>

#include <chrono>

namespace boost_no_cxx11_hdr_chrono {

int test()
{
  using std::chrono::nanoseconds;
  using std::chrono::microseconds;
  using std::chrono::milliseconds;
  using std::chrono::seconds;
  using std::chrono::minutes;
  using std::chrono::hours;
  using std::chrono::system_clock;
  using std::chrono::steady_clock;
  using std::chrono::high_resolution_clock;
  return 0;
}

}