Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63080 - sandbox/chrono/boost/thread/detail
From: vicente.botet_at_[hidden]
Date: 2010-06-18 11:25:11


Author: viboes
Date: 2010-06-18 11:25:10 EDT (Fri, 18 Jun 2010)
New Revision: 63080
URL: http://svn.boost.org/trac/boost/changeset/63080

Log:
Add missing file
Added:
   sandbox/chrono/boost/thread/detail/cv_status.hpp (contents, props changed)

Added: sandbox/chrono/boost/thread/detail/cv_status.hpp
==============================================================================
--- (empty file)
+++ sandbox/chrono/boost/thread/detail/cv_status.hpp 2010-06-18 11:25:10 EDT (Fri, 18 Jun 2010)
@@ -0,0 +1,30 @@
+#ifndef BOOST_THREAD_CV_STATUS_HPP
+#define BOOST_THREAD_CV_STATUS_HPP
+
+// (C) Copyright 2010 Vicente J. Botet Escriba
+//
+// Distributed under 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)
+
+#ifndef BOOST_ENUM_CLASS
+#if defined(BOOST_NO_SCOPED_ENUMS)
+#define BOOST_ENUM_CLASS(T) T::type
+#else
+#define BOOST_ENUM_CLASS(T) T
+#endif
+#endif
+
+namespace boost
+{
+#if defined(BOOST_NO_SCOPED_ENUMS)
+ namespace cv_status {
+ enum type { no_timeout, timeout };
+ }
+#else
+ enum class cv_status { no_timeout, timeout };
+#endif
+
+}
+
+#endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk