diff --git a/include/utempl/meta_info.hpp b/include/utempl/meta_info.hpp index 44ef97a..3117beb 100644 --- a/include/utempl/meta_info.hpp +++ b/include/utempl/meta_info.hpp @@ -11,28 +11,26 @@ struct Types {}; } // namespace impl -template -struct MetaInfoKey { - -}; +template +struct MetaInfoKey {}; -template +template struct MetaInfo { - static constexpr std::size_t kTypeId = loopholes::Counter(); + static constexpr std::size_t kTypeId = loopholes::Counter(); using Type = T; private: - static constexpr auto _ = loopholes::Injector{}, TypeList{}>{}; + static constexpr auto _ = loopholes::Injector{}, TypeList{}>{}; }; -template -inline constexpr std::size_t kTypeId = MetaInfo::kTypeId; +template +inline constexpr std::size_t kTypeId = MetaInfo::kTypeId; -template -using GetMetaInfo = MetaInfo{}>{}))::Type>; +template +using GetMetaInfo = MetaInfo{}>{}))::Type>; -template -using GetType = GetMetaInfo::Type; +template +using GetType = GetMetaInfo::Type; } // namespace utempl