Update README.md

This commit is contained in:
sha512sum 2024-04-18 23:40:12 +00:00
parent dfd8a788f8
commit bbfc0acfe3

View file

@ -27,6 +27,7 @@ auto main() -> int {
constexpr std::array types{kTypeId<int>, kTypeId<void>}; constexpr std::array types{kTypeId<int>, kTypeId<void>};
static_assert(std::is_same_v<GetMetaInfo<types[0]>::Type, int>); static_assert(std::is_same_v<GetMetaInfo<types[0]>::Type, int>);
static_assert(std::is_same_v<GetMetaInfo<types[1]>::Type, void>); static_assert(std::is_same_v<GetMetaInfo<types[1]>::Type, void>);
static_assert(std::is_same_v<decltype(GetTypeListForTag()), TypeList<int, void>>);
}; };
``` ```