#include <cstdint>
#include <string>
#include <type_traits>
|
| NES |
| This exception represents a network error.
|
|
|
template<class Type > |
concept | NES::IsNesType |
|
template<class... Types> |
concept | NES::ContainsString = requires { requires(std::is_same_v<std::string, Types> || ...); } |
| This concept checks via tuple unpacking if Types contains at least one string. More...
|
|
template<class Type > |
concept | NES::IsInt8 = std::is_same_v<std::remove_cvref_t<Type>, std::int8_t> |
|
template<class Type > |
concept | NES::IsInt16 = std::is_same_v<std::remove_cvref_t<Type>, std::int16_t> |
|
template<class Type > |
concept | NES::IsInt32 = std::is_same_v<std::remove_cvref_t<Type>, std::int32_t> |
|
template<class Type > |
concept | NES::IsInt64 = std::is_same_v<std::remove_cvref_t<Type>, std::int64_t> |
|
template<class Type > |
concept | NES::IsUInt8 = std::is_same_v<std::remove_cvref_t<Type>, std::uint8_t> |
|
template<class Type > |
concept | NES::IsUInt16 = std::is_same_v<std::remove_cvref_t<Type>, std::uint16_t> |
|
template<class Type > |
concept | NES::IsUInt32 = std::is_same_v<std::remove_cvref_t<Type>, std::uint32_t> |
|
template<class Type > |
concept | NES::IsUInt64 = std::is_same_v<std::remove_cvref_t<Type>, std::uint64_t> |
|
template<class Type > |
concept | NES::IsFloat = std::is_same_v<std::remove_cvref_t<Type>, float> |
|
template<class Type > |
concept | NES::IsDouble = std::is_same_v<std::remove_cvref_t<Type>, double> |
|
template<class Type > |
concept | NES::IsChar = std::is_same_v<std::remove_cvref_t<Type>, char> |
|
template<class Type > |
concept | NES::IsBool = std::is_same_v<std::remove_cvref_t<Type>, bool> |
|
template<class Type > |
concept | NES::IsString = std::is_same_v<std::remove_cvref_t<Type>, std::string> |
|
template<class Type > |
concept | NES::IsArray = std::is_fundamental_v<std::remove_pointer_t<Type>> || std::is_base_of_v<NESType, Type> |
|