Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::give_cvref_to< From, To > Class Template Reference

Add the cv-ref qualification from one type to another. More...

Public Types

using type = give_cvref_to_t<From, To>
 result type
 

Detailed Description

template<class From, class To>
class arene::base::give_cvref_to< From, To >

Add the cv-ref qualification from one type to another.

Template Parameters
Fromtype to copy cv-ref qualification from
Totype to copy cv-ref qualification to
Note
Does not decay To before adding cv or ref qualification. If replacement semantics are desired, apply std::remove_cvref_t to To.

Member Typedef Documentation

◆ type

template<class From, class To>
using arene::base::give_cvref_to< From, To >::type = give_cvref_to_t<From, To>

result type


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