//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // duration // template // ToDuration // duration_cast(const duration& d); // ToDuration shall be an instantiation of duration. #include int main() { std::chrono::duration_cast(std::chrono::milliseconds(3)); }