Blame view

3rdparty/boost_1_81_0/boost/chrono/detail/system.hpp 484 Bytes
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  //  Copyright 2009-2010 Vicente J. Botet Escriba
  
  //  Distributed under the Boost Software License, Version 1.0.
  //  See http://www.boost.org/LICENSE_1_0.txt
  
  #ifndef BOOST_CHRONO_DETAIL_SYSTEM_HPP
  #define BOOST_CHRONO_DETAIL_SYSTEM_HPP
  
  #if !defined BOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING
  
  #include <boost/system/error_code.hpp>
  
  namespace boost {
  namespace chrono {
      inline bool is_throws(system::error_code  & ec) { return (&ec==&boost::throws()); }
  }
  }
  
  #endif
  #endif