1// -*- C++ -*-
2//===------------------------------ chrono ---------------------------------===//
3//
4//                     The LLVM Compiler Infrastructure
5//
6// This file is distributed under the University of Illinois Open Source
7// License. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef _LIBCPP_EXPERIMENTAL_CHRONO
12#define _LIBCPP_EXPERIMENTAL_CHRONO
13
14/**
15    experimental/chrono synopsis
16
17// C++1y
18
19#include <chrono>
20
21namespace std {
22namespace chrono {
23namespace experimental {
24inline namespace fundamentals_v1 {
25
26  // See C++14 20.12.4, customization traits
27  template <class Rep> constexpr bool treat_as_floating_point_v
28    = treat_as_floating_point<Rep>::value;
29
30} // namespace fundamentals_v1
31} // namespace experimental
32} // namespace chrono
33} // namespace std
34
35 */
36
37#include <experimental/__config>
38#include <chrono>
39
40#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
41#pragma GCC system_header
42#endif
43
44#if _LIBCPP_STD_VER > 11
45
46_LIBCPP_BEGIN_NAMESPACE_CHRONO_LFTS
47
48#ifndef _LIBCPP_HAS_NO_VARIABLE_TEMPLATES
49
50template <class _Rep> _LIBCPP_CONSTEXPR bool treat_as_floating_point_v
51    = treat_as_floating_point<_Rep>::value;
52
53#endif /* _LIBCPP_HAS_NO_VARIABLE_TEMPLATES */
54
55_LIBCPP_END_NAMESPACE_CHRONO_LFTS
56
57#endif /* _LIBCPP_STD_VER > 11 */
58
59#endif /* _LIBCPP_EXPERIMENTAL_CHRONO */
60