OpenVDB 14.0.0
Loading...
Searching...
No Matches
is_equality_comparable_resource< R, class > Struct Template Reference

Detection trait: is_equality_comparable_resource<R>::value is true iff R models a resource concept and provides operator==: two resources compare equal when memory allocated through one may be deallocated through the other. cuda::Buffer and cuda::ResourceRef static_assert it, as cuda::mr's resource concepts require it. More...

#include <nanovdb/cuda/DeviceResource.h>

Detailed Description

template<class R, class = void>
struct nanovdb::cuda::is_equality_comparable_resource< R, class >

Detection trait: is_equality_comparable_resource<R>::value is true iff R models a resource concept and provides operator==: two resources compare equal when memory allocated through one may be deallocated through the other. cuda::Buffer and cuda::ResourceRef static_assert it, as cuda::mr's resource concepts require it.