2022-07-25 14:36:05 +08:00
|
|
|
#include <SFML/Graphics/Sprite.hpp>
|
|
|
|
|
|
|
|
#include <type_traits>
|
|
|
|
|
2023-01-06 08:40:09 +08:00
|
|
|
static_assert(!std::is_constructible_v<sf::Sprite, sf::Texture&&>);
|
2022-07-25 14:36:05 +08:00
|
|
|
static_assert(std::is_copy_constructible_v<sf::Sprite>);
|
|
|
|
static_assert(std::is_copy_assignable_v<sf::Sprite>);
|
|
|
|
static_assert(std::is_nothrow_move_constructible_v<sf::Sprite>);
|
|
|
|
static_assert(std::is_nothrow_move_assignable_v<sf::Sprite>);
|