OpenVDB 12.0.0
Loading...
Searching...
No Matches
CopyConstness< FromType, ToType > Struct Template Reference

CopyConstness<T1, T2>::Type is either const T2 or T2 with no const qualifier, depending on whether T1 is const. More...

#include </private/tmp/openvdb-20241101-6830-c2ql2h/openvdb-12.0.0/openvdb/openvdb/Types.h>

Public Types

using Type = typename std::remove_const<ToType>::type
 

Detailed Description

template<typename FromType, typename ToType>
struct openvdb::v12_0::CopyConstness< FromType, ToType >

CopyConstness<T1, T2>::Type is either const T2 or T2 with no const qualifier, depending on whether T1 is const.

For example,

Member Typedef Documentation

◆ Type

template<typename FromType , typename ToType >
using Type = typename std::remove_const<ToType>::type