blob: cb12f9177fef0a811da8a0ebdb519545d1775a69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "glArrays.h"
#include <type_traits>
// Specialisations (glBuffer is an example of the typedef)
static_assert(std::is_nothrow_default_constructible_v<glBuffer>);
static_assert(!std::is_trivially_default_constructible_v<glBuffer>);
static_assert(std::is_nothrow_destructible_v<glBuffer>);
static_assert(!std::is_trivially_destructible_v<glBuffer>);
static_assert(std::is_default_constructible_v<glBuffer>);
static_assert(!std::is_copy_constructible_v<glBuffer>);
static_assert(!std::is_copy_assignable_v<glBuffer>);
static_assert(std::is_nothrow_move_constructible_v<glBuffer>);
static_assert(std::is_nothrow_move_assignable_v<glBuffer>);
static_assert(sizeof(glBuffer) == sizeof(GLuint));
|