SFML/test/Graphics/Drawable.test.cpp

10 lines
366 B
C++
Raw Normal View History

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