Update README.md
This commit is contained in:
parent
dfd8a788f8
commit
bbfc0acfe3
1 changed files with 1 additions and 0 deletions
|
@ -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>>);
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue