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

9 lines
315 B
C++

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