C++17 introduce helper variable template:
template <typename T>
inline constexpr bool is_integral_v = is_integral<T>::value;
But I see a lot people miss inline
key word when they define their own traits, Is this equivalent to following or not?
template <typename T>
constexpr bool is_integral_v = is_integral<T>::value;