HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::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 <Types.h>

Public Types

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

Detailed Description

template<typename FromType, typename ToType>
struct openvdb::OPENVDB_VERSION_NAME::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,

Definition at line 438 of file Types.h.

Member Typedef Documentation

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

Definition at line 439 of file Types.h.


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