1 // (C) Copyright Howard Hinnant
2 // (C) Copyright 2011 Vicente J. Botet Escriba
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
7 // This code was adapted by Vicente from Howard Hinnant's experimental work
8 // on chrono i/o to Boost
10 #ifndef BOOST_CHRONO_IO_DURATION_STYLE_HPP
11 #define BOOST_CHRONO_IO_DURATION_STYLE_HPP
13 #include <boost/detail/scoped_enum_emulation.hpp>
20 * Scoped enumeration emulation stating whether the duration I/O style is long or short.
21 * prefix means duration::rep with whatever stream/locale settings are set for it followed by a long name representing the unit
22 * symbol means duration::rep with whatever stream/locale settings are set for it followed by a SI unit abbreviation
24 BOOST_SCOPED_ENUM_DECLARE_BEGIN(duration_style)
28 BOOST_SCOPED_ENUM_DECLARE_END(duration_style)