|
pstore2
|
Provides a member typedef inherit_const::type, which is defined as R const if T is a const type and R if T is non-const.
More...
#include <inherit_const.hpp>
Public Types | |
| using | type = typename std::conditional< std::is_const< typename std::remove_reference< T >::type >::value, RC, R >::type |
If T is const, R const otherwise R. | |
Provides a member typedef inherit_const::type, which is defined as R const if T is a const type and R if T is non-const.
| T | A type whose constness will determine the constness of inherit_const::type. |
| R | The result type. |
| RC | The const-result type. |
1.8.13