Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/chrono/io/duration_style.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 // (C) Copyright Howard Hinnant |
Chris@16 | 2 // (C) Copyright 2011 Vicente J. Botet Escriba |
Chris@16 | 3 // Use, modification and distribution are subject to the Boost Software License, |
Chris@16 | 4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 5 // http://www.boost.org/LICENSE_1_0.txt). |
Chris@16 | 6 // |
Chris@16 | 7 // This code was adapted by Vicente from Howard Hinnant's experimental work |
Chris@16 | 8 // on chrono i/o to Boost |
Chris@16 | 9 |
Chris@16 | 10 #ifndef BOOST_CHRONO_IO_DURATION_STYLE_HPP |
Chris@16 | 11 #define BOOST_CHRONO_IO_DURATION_STYLE_HPP |
Chris@16 | 12 |
Chris@16 | 13 #include <boost/detail/scoped_enum_emulation.hpp> |
Chris@16 | 14 |
Chris@16 | 15 namespace boost |
Chris@16 | 16 { |
Chris@16 | 17 namespace chrono |
Chris@16 | 18 { |
Chris@16 | 19 /** |
Chris@16 | 20 * Scoped enumeration emulation stating whether the duration I/O style is long or short. |
Chris@16 | 21 * prefix means duration::rep with whatever stream/locale settings are set for it followed by a long name representing the unit |
Chris@16 | 22 * symbol means duration::rep with whatever stream/locale settings are set for it followed by a SI unit abbreviation |
Chris@16 | 23 */ |
Chris@16 | 24 BOOST_SCOPED_ENUM_DECLARE_BEGIN(duration_style) |
Chris@16 | 25 { |
Chris@16 | 26 prefix, symbol |
Chris@16 | 27 } |
Chris@16 | 28 BOOST_SCOPED_ENUM_DECLARE_END(duration_style) |
Chris@16 | 29 |
Chris@16 | 30 |
Chris@16 | 31 } // chrono |
Chris@16 | 32 |
Chris@16 | 33 } |
Chris@16 | 34 |
Chris@16 | 35 #endif // header |