SFML/test/Window/GlResource.test.cpp
2022-10-23 16:39:12 +02:00

10 lines
376 B
C++

#include <SFML/Window/GlResource.hpp>
#include <type_traits>
static_assert(!std::is_constructible_v<sf::GlResource>);
static_assert(!std::is_copy_constructible_v<sf::GlResource>);
static_assert(std::is_copy_assignable_v<sf::GlResource>);
static_assert(!std::is_nothrow_move_constructible_v<sf::GlResource>);
static_assert(std::is_nothrow_move_assignable_v<sf::GlResource>);