libcopp
2.2.0
|
#include <storage.h>
Public Types | |
using | type = typename std::conditional< COPP_IS_TIRVIALLY_COPYABLE_V(T) &&sizeof(T)<=(sizeof(size_t)<< 2), std::unique_ptr< T, small_object_optimize_storage_deleter< T > >, std::shared_ptr< T > >::type |
using future::compact_storage_selector< T >::type = typename std::conditional<COPP_IS_TIRVIALLY_COPYABLE_V(T) && sizeof(T) <= (sizeof(size_t) << 2), std::unique_ptr<T, small_object_optimize_storage_deleter<T> >, std::shared_ptr<T> >::type |