1#ifndef MSTL_CORE_UTILITY_NON_HPP__
2#define MSTL_CORE_UTILITY_NON_HPP__
38 constexpr none_t() noexcept = default;
45 constexpr
bool operator ==(const
none_t& other) const noexcept {
return true; }
#define _CONSTANTS
constants命名空间前缀
#define MSTL_END_NAMESPACE__
结束全局命名空间MSTL
#define MSTL_BEGIN_NAMESPACE__
开始全局命名空间MSTL
MSTL_INLINE17 constexpr none_t none
默认空表示
constexpr void swap(none_t &other) noexcept
交换操作
constexpr size_t to_hash() const noexcept
计算哈希值
constexpr bool operator<(const none_t &other) const noexcept
小于比较运算符
constexpr none_t() noexcept=default
默认构造函数