mirror of
https://github.com/SFML/SFML.git
synced 2024-12-05 09:41:05 +08:00
12 lines
473 B
C++
12 lines
473 B
C++
#include <SFML/Audio/Sound.hpp>
|
|
|
|
#include <type_traits>
|
|
|
|
static_assert(!std::is_constructible_v<sf::Sound, sf::SoundBuffer&&>);
|
|
static_assert(std::is_copy_constructible_v<sf::Sound>);
|
|
static_assert(std::is_copy_assignable_v<sf::Sound>);
|
|
static_assert(std::is_move_constructible_v<sf::Sound>);
|
|
static_assert(!std::is_nothrow_move_constructible_v<sf::Sound>);
|
|
static_assert(std::is_move_assignable_v<sf::Sound>);
|
|
static_assert(!std::is_nothrow_move_assignable_v<sf::Sound>);
|