Chris@102
|
1 // Copyright (C) 2013 Vicente J. Botet Escriba
|
Chris@102
|
2 //
|
Chris@102
|
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Chris@102
|
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@102
|
5 //
|
Chris@102
|
6 // 2013/10 Vicente J. Botet Escriba
|
Chris@102
|
7 // Creation.
|
Chris@102
|
8
|
Chris@102
|
9 #ifndef BOOST_CSBL_FUNCTIONAL_HPP
|
Chris@102
|
10 #define BOOST_CSBL_FUNCTIONAL_HPP
|
Chris@102
|
11
|
Chris@102
|
12 #include <boost/config.hpp>
|
Chris@102
|
13
|
Chris@102
|
14 #include <functional>
|
Chris@102
|
15
|
Chris@102
|
16 #if defined BOOST_THREAD_USES_BOOST_FUNCTIONAL || defined BOOST_NO_CXX11_HDR_FUNCTIONAL || defined BOOST_NO_CXX11_RVALUE_REFERENCES
|
Chris@102
|
17 #ifndef BOOST_THREAD_USES_BOOST_FUNCTIONAL
|
Chris@102
|
18 #define BOOST_THREAD_USES_BOOST_FUNCTIONAL
|
Chris@102
|
19 #endif
|
Chris@102
|
20 #include <boost/function.hpp>
|
Chris@102
|
21 #endif
|
Chris@102
|
22
|
Chris@102
|
23 namespace boost
|
Chris@102
|
24 {
|
Chris@102
|
25 namespace csbl
|
Chris@102
|
26 {
|
Chris@102
|
27 #if defined BOOST_THREAD_USES_BOOST_FUNCTIONAL
|
Chris@102
|
28 using ::boost::function;
|
Chris@102
|
29 #else
|
Chris@102
|
30 // D.8.1, base (deprecated):
|
Chris@102
|
31 // 20.9.3, reference_wrapper:
|
Chris@102
|
32 // 20.9.4, arithmetic operations:
|
Chris@102
|
33 // 20.9.5, comparisons:
|
Chris@102
|
34 // 20.9.6, logical operations:
|
Chris@102
|
35 // 20.9.7, bitwise operations:
|
Chris@102
|
36 // 20.9.8, negators:
|
Chris@102
|
37 // 20.9.9, bind:
|
Chris@102
|
38 // D.9, binders (deprecated):
|
Chris@102
|
39 // D.8.2.1, adaptors (deprecated):
|
Chris@102
|
40 // D.8.2.2, adaptors (deprecated):
|
Chris@102
|
41 // 20.9.10, member function adaptors:
|
Chris@102
|
42 // 20.9.11 polymorphic function wrappers:
|
Chris@102
|
43 using ::std::function;
|
Chris@102
|
44 // 20.9.12, hash function primary template:
|
Chris@102
|
45 #endif
|
Chris@102
|
46
|
Chris@102
|
47 }
|
Chris@102
|
48 }
|
Chris@102
|
49 #endif // header
|