C/C++ API Reference
Loading...
Searching...
No Matches
pw::allocator::internal::CopyConst< From, To > Struct Template Reference

Overview

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

Helper type that copies const-qualifers between types.

Public Types

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

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