]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/chrono/stopwatches/include/boost/chrono/stopwatches/dont_start.hpp
Add patch for failing prerm scripts
[ceph.git] / ceph / src / boost / libs / chrono / stopwatches / include / boost / chrono / stopwatches / dont_start.hpp
1 // boost/chrono/stopwatches/dont.hpp ------------------------------------------------------------//
2 // Copyright 2011 Vicente J. Botet Escriba
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 // See http://www.boost.org/libs/libs/chrono/stopwatches for documentation.
6
7 #ifndef BOOST_CHRONO_STOPWATCHES_DONT_START__HPP
8 #define BOOST_CHRONO_STOPWATCHES_DONT_START__HPP
9
10 namespace boost
11 {
12 namespace chrono
13 {
14
15 /**
16 * Type used to don't start a basic_stopwatch at construction time.
17 */
18 struct dont_start_t
19 {
20 };
21
22 /**
23 * Instance used to don't start a basic_stopwatch at construction time.
24 */
25 static const dont_start_t dont_start =
26 { };
27
28
29 } // namespace chrono
30 } // namespace boost
31
32 #endif