Sha256: f76c389a3004669b5950d8ba5ad2468a8fac6bba4e947cc4aaac84062e9a74f1

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 KB

Contents

//  (C) Copyright Howard Hinnant
//  (C) Copyright 2011 Vicente J. Botet Escriba
//  Use, modification and distribution are subject to the Boost Software License,
//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt).
//
// This code was adapted by Vicente from Howard Hinnant's experimental work
// on chrono i/o to Boost

#ifndef BOOST_CHRONO_IO_DURATION_STYLE_HPP
#define BOOST_CHRONO_IO_DURATION_STYLE_HPP

#include <boost/core/scoped_enum.hpp>

namespace boost
{
  namespace chrono
  {
    /**
     * Scoped enumeration emulation stating whether the duration I/O style is long or short.
     * prefix means duration::rep with whatever stream/locale settings are set for it followed by a long name representing the unit
     * symbol means duration::rep with whatever stream/locale settings are set for it followed by a SI unit abbreviation
     */
    BOOST_SCOPED_ENUM_DECLARE_BEGIN(duration_style)
          {
            prefix, symbol
          }
    BOOST_SCOPED_ENUM_DECLARE_END(duration_style)


  } // chrono

}

#endif  // header

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp