Move libcds 1.6.0 from SVN
[libcds.git] / cds / intrusive / striped_set / boost_splay_set.h
1 //$$CDS-header$$
2
3 #ifndef __CDS_INTRUSIVE_STRIPED_SET_BOOST_SPLAY_SET_ADAPTER_H
4 #define __CDS_INTRUSIVE_STRIPED_SET_BOOST_SPLAY_SET_ADAPTER_H
5
6 #include <boost/intrusive/splay_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, CDS_BOOST_INTRUSIVE_DECL_OPTIONS4, CDS_SPEC_OPTIONS>
13     class adapt< boost::intrusive::splay_set< T, CDS_BOOST_INTRUSIVE_OPTIONS4 >, CDS_OPTIONS >
14     {
15     public:
16         typedef boost::intrusive::splay_set< T, CDS_BOOST_INTRUSIVE_OPTIONS4 >  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_SPLAY_SET_ADAPTER_H