void TestFCStack::FCStack_deque_elimination()
{
- struct stack_traits : public cds::container::fcstack::traits
- {
- static CDS_CONSTEXPR const bool enable_elimination = true;
- };
+ struct stack_traits : public
+ cds::container::fcstack::make_traits <
+ cds::opt::enable_elimination < true >
+ > ::type
+ {};
typedef cds::container::FCStack< unsigned int, std::stack<unsigned int, std::deque<unsigned int> >, stack_traits > stack_type;
test<stack_type>();
}