OpenVDB 13.1.0
Loading...
Searching...
No Matches
BufferIsDefaultConstructible< BufferT, typename > Struct Template Reference

Detects whether a buffer type is default-constructible, so consumers can name that requirement in a static_assert instead of failing wherever the default construction happens to occur. More...

#include <nanovdb/HostBuffer.h>

Static Public Attributes

static constexpr bool value = false

Detailed Description

template<typename BufferT, typename = void>
struct nanovdb::BufferIsDefaultConstructible< BufferT, typename >

Detects whether a buffer type is default-constructible, so consumers can name that requirement in a static_assert instead of failing wherever the default construction happens to occur.

Member Data Documentation

◆ value

template<typename BufferT, typename = void>
bool value = false
staticconstexpr