From c7968c3f5f3d4aa1bc58a7fa16f225e5b438ac74 Mon Sep 17 00:00:00 2001 From: EndrII Date: Mon, 26 Apr 2021 21:19:49 +0300 Subject: [PATCH] ref #28 "fix typo error (hask to hash)" --- global.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/global.h b/global.h index a4435c2..4687dbd 100644 --- a/global.h +++ b/global.h @@ -97,10 +97,10 @@ constexpr inline T operator ^ (T lhs, T rhs) template /** - * @brief static_type_hash_32 This function return hask code of the class T. + * @brief static_type_hash_32 This function return hash code of the class T. * For get more information see the std [documentation](https://en.cppreference.com/w/cpp/types/type_info/hash_code). * @note This method will create a T object on stack, so if you have a alredy created object use the static_type_hash_32(const T&) function. - * @return uint32_t hask code of the class T + * @return uint32_t hash code of the class T */ uint32_t static_type_hash_32() noexcept { return typeid (T).hash_code(); @@ -108,10 +108,10 @@ uint32_t static_type_hash_32() noexcept { template /** - * @brief static_type_hash_16 This function return hask code of the class T. + * @brief static_type_hash_16 This function return hash code of the class T. * For get more information see the std [documentation](https://en.cppreference.com/w/cpp/types/type_info/hash_code). * @note This method will create a T object on stack, so if you have a alredy created object use the static_type_hash_16(const T&) function. - * @return uint16_t hask code of the class T + * @return uint16_t hash code of the class T */ uint16_t static_type_hash_16() noexcept { return typeid (T).hash_code() % 0xFFFF; @@ -119,10 +119,10 @@ uint16_t static_type_hash_16() noexcept { template /** - * @brief static_type_hash_8 This function return hask code of the class T. + * @brief static_type_hash_8 This function return hash code of the class T. * For get more information see the std [documentation](https://en.cppreference.com/w/cpp/types/type_info/hash_code). * @note This method will create a T object on stack, so if you have a alredy created object use the static_type_hash_8(const T&) function. - * @return uint8_t hask code of the class T + * @return uint8_t hash code of the class T */ uint8_t static_type_hash_8() noexcept { return typeid (T).hash_code() % 0xFF; @@ -132,7 +132,7 @@ template /** * @brief static_type_hash_32 This function return hash code of a T type using @a object. * @param object This is object of the T type using for generate hash. - * @return uint32_t hask code of the class T + * @return uint32_t hash code of the class T */ uint32_t static_type_hash_32(T& object) noexcept { return typeid (object).hash_code(); @@ -142,7 +142,7 @@ template /** * @brief static_type_hash_16 This function return hash code of a T type using @a object. * @param object This is object of the T type using for generate hash. - * @return uint16_t hask code of the class T + * @return uint16_t hash code of the class T */ uint16_t static_type_hash_16(T& object) noexcept { return typeid (object).hash_code() % 0xFFFF; @@ -152,7 +152,7 @@ template /** * @brief static_type_hash_8 This function return hash code of a T type using @a object. * @param object This is object of the T type using for generate hash. - * @return uint8_t hask code of the class T + * @return uint8_t hash code of the class T */ uint8_t static_type_hash_8(T& object) noexcept { return typeid (object).hash_code() % 0xFF;