OpenVDB: match_const< T, const ReferenceT > Struct Template Reference

OpenVDB 12.0.1 |

Loading...
Searching...
No Matches
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
using | 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

  T | Type that will adopt the const-ness of the reference type
  ReferenceT | Reference type that is const

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

## Member Typedef Documentation

## ◆ type [1/2]

using type

## ◆ type [2/2]

template<typename T, typename ReferenceT>

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