OpenVDB  12.0.0
Public Types | List of all members
match_const< T, const ReferenceT > Struct Template Reference

Template specialization used to transfer the const-ness of a reference type to another type. More...

#include <nanovdb/util/Util.h>

Public Types

using type = const typename remove_const< T >::type
 

Detailed Description

template<typename T, typename ReferenceT>
struct nanovdb::util::match_const< T, const ReferenceT >

Template specialization used to transfer the const-ness of a reference type to another type.

Template Parameters
TType that will adopt the const-ness of the reference type
ReferenceTReference type that is const

match_const<const int, const float>::type = const int match_const<int, const float>::type = const int

Member Typedef Documentation

using type = const typename remove_const<T>::type