Skip to content

Commit

Permalink
minor fixes in typemap(added helper function)
Browse files Browse the repository at this point in the history
  • Loading branch information
glensand committed Mar 27, 2022
1 parent fc9da8f commit 7df3433
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/hope/components/typemap.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ namespace hope {
return type_holder<typename pair::Value>();
}

template<typename Key>
using get_t = typename decltype(get<Key>())::Type;
private:

template <typename Key>
Expand Down

0 comments on commit 7df3433

Please sign in to comment.