~ubuntu-branches/ubuntu/wily/davix/wily

« back to all changes in this revision

Viewing changes to deps/boost_intern/boost/chrono/io/duration_style.hpp

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2015-07-31 13:17:55 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20150731131755-mizprbmn7ogv33te
Tags: 0.4.1-1
* Update to version 0.4.1
* Implement Multi-Arch support

Show diffs side-by-side

added added

removed removed

Lines of Context:
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).
6
 
//
7
 
// This code was adapted by Vicente from Howard Hinnant's experimental work
8
 
// on chrono i/o to Boost
9
 
 
10
 
#ifndef BOOST_CHRONO_IO_DURATION_STYLE_HPP
11
 
#define BOOST_CHRONO_IO_DURATION_STYLE_HPP
12
 
 
13
 
#include <boost/detail/scoped_enum_emulation.hpp>
14
 
 
15
 
namespace boost
16
 
{
17
 
  namespace chrono
18
 
  {
19
 
    /**
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
23
 
     */
24
 
    BOOST_SCOPED_ENUM_DECLARE_BEGIN(duration_style)
25
 
          {
26
 
            prefix, symbol
27
 
          }
28
 
    BOOST_SCOPED_ENUM_DECLARE_END(duration_style)
29
 
 
30
 
 
31
 
  } // chrono
32
 
 
33
 
}
34
 
 
35
 
#endif  // header