test: shared boxed_int type

This commit is contained in:
Michele Caini
2023-11-02 08:29:37 +01:00
parent 4786178705
commit acae98324b

View File

@@ -0,0 +1,16 @@
#ifndef ENTT_COMMON_BOXED_INT_HPP
#define ENTT_COMMON_BOXED_INT_HPP
namespace test {
struct boxed_int {
int value{};
};
inline bool operator==(const boxed_int &lhs, const boxed_int &rhs) {
return lhs.value == rhs.value;
}
} // namespace test
#endif