Searched refs:G_IS_NUM (Results 1 - 2 of 2) sorted by relevance
/base/update/updater/utils/json/ |
H A D | traits_util.h | 26 inline constexpr bool G_IS_NUM = std::is_integral_v<T> && !std::is_same_v<T, bool>; member 36 inline constexpr bool G_IS_PRINTABLE = (G_IS_NUM<T> || G_IS_BOOL<T> || G_IS_STR<T>); 39 inline constexpr bool G_IS_BASE_TYPE = (G_IS_NUM<T> || G_IS_BOOL<T> || G_IS_STR<T>); 59 using type = std::conditional_t<G_IS_NUM<T>, int, std::conditional_t<G_IS_STR<T>, std::string, bool>>;
|
H A D | json_visitor.h | 132 template<Action act, typename T, std::enable_if_t<Detail::G_IS_NUM<decltype(Traits<T>::COUNT)>, bool> = true> 141 template<Action act, typename T, std::enable_if_t<Detail::G_IS_NUM<decltype(Traits<T>::COUNT)>, bool> = true>
|
Completed in 2 milliseconds