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

10 lines
355 B
C++

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