Searched defs:threadsafe_queue_node (Results 1 – 1 of 1) sorted by relevance
75 struct threadsafe_queue_node : struct78 typedef typename aligned_storage< sizeof(T), alignment_of< T >::value >::type storage_type;79 storage_type storage;81 BOOST_DEFAULTED_FUNCTION(threadsafe_queue_node(), {}) in threadsafe_queue_node() argument83 T& value() BOOST_NOEXCEPT { return *static_cast< T* >(storage.address()); } in value()84 void destroy() BOOST_NOEXCEPT { static_cast< T* >(storage.address())->~T(); } in destroy()