HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanovdb::match_const< T, ReferenceT > Struct Template Reference

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

#include <NanoVDB.h>

Public Types

using type = typename remove_const< T >::type
 

Detailed Description

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

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

Template Parameters
TType whose const-ness needs to match the reference type
ReferenceTReference type that is not const

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

Definition at line 588 of file NanoVDB.h.

Member Typedef Documentation

template<typename T, typename ReferenceT>
using nanovdb::match_const< T, ReferenceT >::type = typename remove_const<T>::type

Definition at line 590 of file NanoVDB.h.


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