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