//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // duration // template // duration(const duration& d); // conversions from integral to floating point durations allowed #include #include int main() { std::chrono::duration i(3); std::chrono::duration d = i; assert(d.count() == 3); }