1 // Copyright (c) 2006-2018 Maxim Khizhinsky
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef CDSUNIT_QUEUE_TEST_INTRUSIVE_MSQUEUE_H
7 #define CDSUNIT_QUEUE_TEST_INTRUSIVE_MSQUEUE_H
11 class intrusive_msqueue
14 template <typename Base>
15 struct base_hook_item : public Base
24 base_hook_item( base_hook_item const& s)
26 , nDisposeCount( s.nDisposeCount )
30 template <typename Member>
31 struct member_hook_item
41 member_hook_item( member_hook_item const& s )
43 , nDisposeCount( s.nDisposeCount )
50 void operator ()( T * p )
58 } // namespace cds_test
60 #endif // CDSUNIT_QUEUE_TEST_INTRUSIVE_MSQUEUE_H