]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/chrono/test/test_11006.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / chrono / test / test_11006.cpp
1 // Copyright 2015 Vicente J. Botet Escriba
2 // Distributed under the Boost Software License, Version 1.0.
3 // See http://www.boost.org/LICENSE_1_0.txt
4 // See http://www.boost.org/libs/chrono for documentation.
5
6 //#define BOOST_CHRONO_PROVIDES_DEPRECATED_IO_SINCE_V2_0_0
7 #define BOOST_CHRONO_VERSION 2
8 #include <iostream>
9 #include <boost/chrono/io/time_point_io.hpp>
10
11
12 int main() {
13 {
14 boost::chrono::time_fmt_io_saver<> tmp(std::cout);
15 }
16 {
17 boost::chrono::time_fmt_io_saver<> tmp(std::cout, "%Y-%m-%d %H:%M:%S");
18 }
19 return 0;
20 }
21