Serialbox  2.2.0
Data serialization library and tools for C/C++, Python and Fortran
serialbox::match_cv_qualifier< QualifiedType, UnqualifiedType, IsConst, IsVolatile > Class Template Reference

Utility for constructing identically cv-qualified types. More...

#include <Type.h>

Public Types

using type = typename match::type
 

Detailed Description

template<typename QualifiedType, typename UnqualifiedType, bool IsConst = std::is_const<QualifiedType>::value, bool IsVolatile = std::is_volatile<QualifiedType>::value>
class serialbox::match_cv_qualifier< QualifiedType, UnqualifiedType, IsConst, IsVolatile >

Utility for constructing identically cv-qualified types.

Example

static_assert(std::is_same<match_cv_qualifier<const int, float>::type, const float>::value);

Definition at line 298 of file Type.h.


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