SFML/test/Network/TcpSocket.test.cpp

9 lines
315 B
C++
Raw Normal View History

#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>);
2023-08-22 11:29:39 +08:00
static_assert(std::is_nothrow_move_constructible_v<sf::TcpSocket>);
static_assert(std::is_nothrow_move_assignable_v<sf::TcpSocket>);