1287518Sdim// -*- C++ -*- 2287518Sdim//===------------------------------ chrono ---------------------------------===// 3287518Sdim// 4287518Sdim// The LLVM Compiler Infrastructure 5287518Sdim// 6287518Sdim// This file is distributed under the University of Illinois Open Source 7287518Sdim// License. See LICENSE.TXT for details. 8287518Sdim// 9287518Sdim//===----------------------------------------------------------------------===// 10287518Sdim 11287518Sdim#ifndef _LIBCPP_EXPERIMENTAL_CHRONO 12287518Sdim#define _LIBCPP_EXPERIMENTAL_CHRONO 13287518Sdim 14287518Sdim/** 15287518Sdim experimental/chrono synopsis 16287518Sdim 17287518Sdim// C++1y 18287518Sdim 19287518Sdim#include <chrono> 20287518Sdim 21287518Sdimnamespace std { 22287518Sdimnamespace chrono { 23287518Sdimnamespace experimental { 24287518Sdiminline namespace fundamentals_v1 { 25287518Sdim 26287518Sdim // See C++14 20.12.4, customization traits 27287518Sdim template <class Rep> constexpr bool treat_as_floating_point_v 28287518Sdim = treat_as_floating_point<Rep>::value; 29287518Sdim 30287518Sdim} // namespace fundamentals_v1 31287518Sdim} // namespace experimental 32287518Sdim} // namespace chrono 33287518Sdim} // namespace std 34287518Sdim 35287518Sdim */ 36287518Sdim 37287518Sdim#include <experimental/__config> 38287518Sdim#include <chrono> 39287518Sdim 40287518Sdim#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 41287518Sdim#pragma GCC system_header 42287518Sdim#endif 43287518Sdim 44287518Sdim#if _LIBCPP_STD_VER > 11 45287518Sdim 46287518Sdim_LIBCPP_BEGIN_NAMESPACE_CHRONO_LFTS 47287518Sdim 48287518Sdim#ifndef _LIBCPP_HAS_NO_VARIABLE_TEMPLATES 49287518Sdim 50287518Sdimtemplate <class _Rep> _LIBCPP_CONSTEXPR bool treat_as_floating_point_v 51287518Sdim = treat_as_floating_point<_Rep>::value; 52287518Sdim 53287518Sdim#endif /* _LIBCPP_HAS_NO_VARIABLE_TEMPLATES */ 54287518Sdim 55287518Sdim_LIBCPP_END_NAMESPACE_CHRONO_LFTS 56287518Sdim 57287518Sdim#endif /* _LIBCPP_STD_VER > 11 */ 58287518Sdim 59287518Sdim#endif /* _LIBCPP_EXPERIMENTAL_CHRONO */ 60