1#ifndef TATOOINE_GL_ID_HOLDER_H
2#define TATOOINE_GL_ID_HOLDER_H
21 constexpr static GLint value = GLint(-1);
32 static constexpr auto default_val = id_holder_default_param_v<ID>;
56 [[nodiscard]]
auto id()
const {
return m_id; }
Definition: ansiformat.h:6
static constexpr auto id_holder_default_param_v
Definition: idholder.h:26
void swap(id_holder< ID > &i0, id_holder< ID > &i1)
Definition: idholder.h:69
Definition: idholder.h:10
Definition: idholder.h:31
auto id_ref() -> auto &
Definition: idholder.h:62
id_holder(id_holder const &other)=delete
void set_id(ID id)
Definition: idholder.h:59
id_holder(id_holder &&other) noexcept
Definition: idholder.h:45
ID m_id
Definition: idholder.h:36
auto id_ptr()
Definition: idholder.h:61
auto operator=(id_holder &&other) noexcept -> id_holder &
Definition: idholder.h:49
id_holder()
Definition: idholder.h:40
id_holder(ID _id)
Definition: idholder.h:42
static constexpr auto default_val
Definition: idholder.h:32
auto id() const
Definition: idholder.h:56
void swap(id_holder &other)
Definition: idholder.h:65
auto operator=(id_holder const &other) -> id_holder &=delete