AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Acore::Types Namespace Reference

Typedefs

template<typename T >
using is_chrono_v = std::enable_if_t< std::is_same_v< Milliseconds, T >||std::is_same_v< Seconds, T >||std::is_same_v< Minutes, T >||std::is_same_v< Hours, T >||std::is_same_v< Days, T >||std::is_same_v< Weeks, T >||std::is_same_v< Years, T >||std::is_same_v< Months, T >, T >
 
template<typename T >
using is_default = std::enable_if_t< std::is_arithmetic_v< T >||std::is_same_v< std::vector< uint8 >, T > >
 
template<typename T >
using is_enum_v = std::enable_if_t< std::is_enum_v< T > >
 
template<typename T >
using is_non_string_view_v = std::enable_if_t<!std::is_base_of_v< std::string_view, T > >
 

Typedef Documentation

◆ is_chrono_v

template<typename T >
using Acore::Types::is_chrono_v = typedef std::enable_if_t<std::is_same_v<Milliseconds, T> || std::is_same_v<Seconds, T> || std::is_same_v<Minutes, T> || std::is_same_v<Hours, T> || std::is_same_v<Days, T> || std::is_same_v<Weeks, T> || std::is_same_v<Years, T> || std::is_same_v<Months, T>, T>

◆ is_default

template<typename T >
using Acore::Types::is_default = typedef std::enable_if_t<std::is_arithmetic_v<T> || std::is_same_v<std::vector<uint8>, T> >

◆ is_enum_v

template<typename T >
using Acore::Types::is_enum_v = typedef std::enable_if_t<std::is_enum_v<T> >

◆ is_non_string_view_v

template<typename T >
using Acore::Types::is_non_string_view_v = typedef std::enable_if_t<!std::is_base_of_v<std::string_view, T> >