64,641
社区成员
发帖
与我相关
我的任务
分享
template <class _Ty, _Ty _Val> //----???
struct integral_constant {
static constexpr _Ty value = _Val;
using value_type = _Ty;
using type = integral_constant;
constexpr operator value_type() const noexcept {
return value;
}
_NODISCARD constexpr value_type operator()() const noexcept {
return value;
}
};
template<typename T , int MaxLen>
template <class _Ty, _Ty _Val>