#ifndef ENTT_COMMON_BOXED_TYPE_H #define ENTT_COMMON_BOXED_TYPE_H namespace test { template struct boxed_type { Type value{}; operator Type() const noexcept { return value; } }; template inline bool operator==(const boxed_type &lhs, const boxed_type &rhs) { return lhs.value == rhs.value; } using boxed_int = boxed_type; using boxed_char = boxed_type; } // namespace test #endif