replace null_ptr<>() with nullptr
[libcds.git] / cds / details / std / condition_variable.h
1 //$$CDS-header$$
2
3 #ifndef __CDS_DETAILS_STD_CONDITION_VARIABLE_H
4 #define __CDS_DETAILS_STD_CONDITION_VARIABLE_H
5
6 //@cond
7
8 #include <cds/details/defs.h>
9
10 #ifdef CDS_CXX11_STDLIB_CONDITION_VARIABLE
11 #   include <condition_variable>
12     namespace cds_std {
13         using std::condition_variable;
14         using std::condition_variable_any;
15     }
16 #else
17 #   include <boost/thread/condition_variable.hpp>
18     namespace cds_std {
19         using boost::condition_variable;
20         using boost::condition_variable_any;
21     }
22 #endif
23
24 //@endcond
25
26 #endif // #ifndef __CDS_DETAILS_STD_CONDITION_VARIABLE_H