a92b69013101e8bc5d3f9ac4a320bb37b8fc3599
[libcds.git] / cds / intrusive / striped_set / boost_set.h
1 //$$CDS-header$$
2
3 #ifndef __CDS_INTRUSIVE_STRIPED_SET_BOOST_SET_ADAPTER_H
4 #define __CDS_INTRUSIVE_STRIPED_SET_BOOST_SET_ADAPTER_H
5
6 #include <boost/intrusive/set.hpp>
7 #include <cds/intrusive/striped_set/adapter.h>
8
9 //@cond
10 namespace cds { namespace intrusive { namespace striped_set {
11
12     template <typename T, typename... BIOptons, typename... Options>
13     class adapt< boost::intrusive::set< T, BIOptons... >, Options... >
14     {
15     public:
16         typedef boost::intrusive::set< T, BIOptons... >  container_type  ;   ///< underlying intrusive container type
17
18     public:
19         typedef details::boost_intrusive_set_adapter<container_type>   type ;  ///< Result of the metafunction
20
21     };
22 }}} // namespace cds::intrusive::striped_set
23 //@endcond
24
25 #endif // #ifndef __CDS_INTRUSIVE_STRIPED_SET_BOOST_SET_ADAPTER_H