Go to the source code of this file.
|
| template<typename CharType , typename Size_cType > |
| void | dxle::detail::ostream_operator_helper (std::basic_ostream< CharType > &os, const CharType *str, const size_c< Size_cType > &s) |
| |
| template<typename CharType , typename Size_cType > |
| void | dxle::detail::istream_operator_helper (std::basic_istream< CharType > &is, size_c< Size_cType > &s) |
| |
| size_c< T1 > T2 DXLE_CONSTEXPR auto | dxle::operator+ (const size_c< T1 > &l, const size_c< T2 > &r) DXLE_NOEXCEPT_IF_EXPR(l.width+r.width) -> size_c< decltype(std::declval< std::remove_cv_t< T1 >>()+std::declval< std::remove_cv_t< T2 >>())> |
| |
| size_c< T1 > T2 DXLE_CONSTEXPR auto | dxle::operator/ (const size_c< T1 > &l, T2 r) DXLE_NOEXCEPT_IF_EXPR(l.width/r) -> size_c< decltype(std::declval< std::remove_cv_t< T1 >>()/std::declval< std::remove_cv_t< T2 >>())> |
| |
| | std::DXLE_TEMP_make_hash (int, 8, 16) |
| |
| | std::DXLE_TEMP_make_hash (int, 16, 32) |
| |
| | std::DXLE_TEMP_make_hash (int, 32, 64) |
| |
| | std::DXLE_TEMP_make_hash (uint, 8, 16) |
| |
| | std::DXLE_TEMP_make_hash (uint, 16, 32) |
| |
| | std::DXLE_TEMP_make_hash (uint, 32, 64) |
| |
§ DXLE_TEMP_make_hash
| #define DXLE_TEMP_make_hash |
( |
|
int_t, |
|
|
|
bit, |
|
|
|
bit2 |
|
) |
| |
Value:template <>
struct hash<
dxle::size_c<int_t##bit##_t>> {\
hash() = default;\
hash(const hash&) = default;\
hash(hash&& other) :hash_run(
std::move(other.hash_run)) {}\
~hash() {}\
hash& operator=(const hash& other) { hash_run = other.hash_run; return *this; }\
hash& operator=(hash&& other) { hash_run = std::move(other.hash_run); return *this; }\
private:\
std::hash<int_t##_fast##bit2##_t> hash_run;\
}
Template class for 2D sizes specified by its coordinates width and height.
Definition at line 622 of file size.hpp.