libcopp  2.2.0
Public Types
future::poll_storage_ptr_selector< T > Struct Template Reference

#include <storage.h>

Collaboration diagram for future::poll_storage_ptr_selector< T >:
Collaboration graph

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::unique_ptr< T, std::default_delete< T > > >::type
 

Detailed Description

template<class T>
struct future::poll_storage_ptr_selector< T >

Definition at line 60 of file storage.h.

Member Typedef Documentation

◆ type

template<class T >
using future::poll_storage_ptr_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::unique_ptr<T, std::default_delete<T> > >::type

Definition at line 61 of file storage.h.


The documentation for this struct was generated from the following file: