Pigweed
 
Loading...
Searching...
No Matches
pw::allocator::internal::CopyConst< From, To > Struct Template Reference

Helper type that copies const-qualifers between types. More...

#include <basic.h>

Public Types

using type = std::conditional_t< std::is_const_v< From >, std::add_const_t< To >, std::remove_const_t< To > >
 

Detailed Description

template<typename From, typename To>
struct pw::allocator::internal::CopyConst< From, To >

Helper type that copies const-qualifers between types.


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