mpc
Haskell-like feature supports in C++
mpc::detail::copy_const< From, To > Struct Template Reference

Copies the const qualifier. More...

#include <type_traits.hpp>

Public Types

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

Detailed Description

template<class From, class To>
struct mpc::detail::copy_const< From, To >

Copies the const qualifier.


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