using ::std

This commit is contained in:
Neargye 2018-04-30 04:25:11 +05:00
parent 6211191084
commit 908126e420

View file

@ -43,7 +43,7 @@ inline constexpr bool IsLexeme(const char s) noexcept {
} // namespace detail } // namespace detail
inline constexpr const char* Nameof(const char* name, const std::size_t length, const std::size_t) noexcept { inline constexpr const char* Nameof(const char* name, const ::std::size_t length, const ::std::size_t) noexcept {
return length == 0 ? name : detail::IsLexeme(name[length - 1]) return length == 0 ? name : detail::IsLexeme(name[length - 1])
? &name[length] ? &name[length]
: Nameof(name, length - 1, 0); : Nameof(name, length - 1, 0);