SFML/test/Network/TcpSocket.test.cpp
2023-08-26 22:17:34 -06:00

9 lines
315 B
C++

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