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

CanConvertType<FromType, ToType>::value is true if a value of type ToType can be constructed from a value of type FromType. More...

#include </private/tmp/openvdb-20241101-7014-5j8vk0/openvdb-12.0.0/openvdb/openvdb/Types.h>

Public Types

enum  { value = std::is_constructible<ToType, FromType>::value }
 

Detailed Description

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

CanConvertType<FromType, ToType>::value is true if a value of type ToType can be constructed from a value of type FromType.

Member Enumeration Documentation

◆ anonymous enum

template<typename FromType , typename ToType >
anonymous enum
Enumerator
value