|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86453 - trunk/boost/thread/csbl
From: vicente.botet_at_[hidden]
Date: 2013-10-26 11:07:34
Author: viboes
Date: 2013-10-26 11:07:34 EDT (Sat, 26 Oct 2013)
New Revision: 86453
URL: http://svn.boost.org/trac/boost/changeset/86453
Log:
Thread: Added csbl (Common Std Boost Library) files, which allows to use on the csbl namespace eother a std or a boost file, e.g. tuple, vector, functional.
Added:
trunk/boost/thread/csbl/
trunk/boost/thread/csbl/functional.hpp (contents, props changed)
trunk/boost/thread/csbl/tuple.hpp (contents, props changed)
trunk/boost/thread/csbl/vector.hpp (contents, props changed)
Added: trunk/boost/thread/csbl/functional.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/boost/thread/csbl/functional.hpp 2013-10-26 11:07:34 EDT (Sat, 26 Oct 2013) (r86453)
@@ -0,0 +1,34 @@
+// Copyright (C) 2013 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)
+//
+// 2013/10 Vicente J. Botet Escriba
+// Creation.
+
+#ifndef BOOST_CSBL_FUNCTIONAL_HPP
+#define BOOST_CSBL_FUNCTIONAL_HPP
+
+#include <boost/config.hpp>
+
+#ifdef BOOST_NO_CXX11_HDR_FUNCTIONAL
+#include <boost/function.hpp>
+#else
+#include <functional>
+#endif
+
+namespace boost
+{
+ namespace csbl
+ {
+#ifdef BOOST_NO_CXX11_HDR_FUNCTIONAL
+ using ::boost::function;
+
+#else
+ using ::std::function;
+
+#endif
+
+ }
+}
+#endif // header
Added: trunk/boost/thread/csbl/tuple.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/boost/thread/csbl/tuple.hpp 2013-10-26 11:07:34 EDT (Sat, 26 Oct 2013) (r86453)
@@ -0,0 +1,34 @@
+// Copyright (C) 2013 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)
+//
+// 2013/10 Vicente J. Botet Escriba
+// Creation.
+
+#ifndef BOOST_CSBL_TUPLE_HPP
+#define BOOST_CSBL_TUPLE_HPP
+
+#include <boost/config.hpp>
+
+#ifdef BOOST_NO_CXX11_HDR_TUPLE
+#include <boost/tuple/tuple.hpp>
+#else
+#include <tuple>
+#endif
+
+namespace boost
+{
+ namespace csbl
+ {
+#ifdef BOOST_NO_CXX11_HDR_TUPLE
+ using ::boost::tuple;
+
+#else
+ using ::std::tuple;
+
+#endif
+
+ }
+}
+#endif // header
Added: trunk/boost/thread/csbl/vector.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/boost/thread/csbl/vector.hpp 2013-10-26 11:07:34 EDT (Sat, 26 Oct 2013) (r86453)
@@ -0,0 +1,34 @@
+// Copyright (C) 2013 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)
+//
+// 2013/10 Vicente J. Botet Escriba
+// Creation.
+
+#ifndef BOOST_CSBL_VECTOR_HPP
+#define BOOST_CSBL_VECTOR_HPP
+
+#include <boost/config.hpp>
+
+#ifdef BOOST_NO_CXX11_HDR_VECTOR
+#include <boost/container/vector.hpp>
+#else
+#include <vector>
+#endif
+
+namespace boost
+{
+ namespace csbl
+ {
+#ifdef BOOST_NO_CXX11_HDR_VECTOR
+ using ::boost::container::vector;
+
+#else
+ using ::std::vector;
+
+#endif
+
+ }
+}
+#endif // header
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