1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // typedef duration<signed integral type of at least 29 bits, ratio< 60>> minutes;
15 #include <type_traits>
20 typedef std::chrono::minutes D
;
22 typedef D::period Period
;
23 static_assert(std::is_signed
<Rep
>::value
, "");
24 static_assert(std::is_integral
<Rep
>::value
, "");
25 static_assert(std::numeric_limits
<Rep
>::digits
>= 28, "");
26 static_assert((std::is_same
<Period
, std::ratio
<60> >::value
), "");