chrono_io.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. // chrono_io
  2. //
  3. // (C) Copyright Howard Hinnant
  4. // (C) Copyright 2010-2011 Vicente J. Botet Escriba
  5. // Use, modification and distribution are subject to the Boost Software License,
  6. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt).
  8. //
  9. // This code was adapted by Vicente from Howard Hinnant's experimental work
  10. // on chrono i/o under lvm/libc++ to Boost
  11. #ifndef BOOST_CHRONO_CHRONO_IO_HPP
  12. #define BOOST_CHRONO_CHRONO_IO_HPP
  13. #include <boost/chrono/config.hpp>
  14. //#if BOOST_CHRONO_VERSION == 2
  15. //#include <boost/chrono/io/time_point_io.hpp>
  16. //#include <boost/chrono/io/duration_io.hpp>
  17. //#elif BOOST_CHRONO_VERSION == 1
  18. //#include <boost/chrono/io_v1/chrono_io.hpp>
  19. //#endif
  20. #if defined BOOST_CHRONO_DONT_PROVIDES_DEPRECATED_IO_SINCE_V2_0_0
  21. #include <boost/chrono/io/time_point_io.hpp>
  22. #include <boost/chrono/io/duration_io.hpp>
  23. #else
  24. #include <boost/chrono/io_v1/chrono_io.hpp>
  25. #endif
  26. #include <boost/chrono/io/utility/to_string.hpp>
  27. #endif // BOOST_CHRONO_CHRONO_IO_HPP