mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
10 lines
367 B
C++
10 lines
367 B
C++
#include <SFML/Graphics/Sprite.hpp>
|
|
|
|
#include <type_traits>
|
|
|
|
static_assert(!std::is_constructible_v<sf::Sprite, sf::Texture&&>);
|
|
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>);
|