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

Copies the reference qualifier. More...

#include <type_traits.hpp>

Public Types

using type = std::conditional_t< std::is_rvalue_reference_v< From >, std::add_rvalue_reference_t< To >, std::conditional_t< std::is_lvalue_reference_v< From >, std::add_lvalue_reference_t< To >, To > >
 

Detailed Description

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

Copies the reference qualifier.


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