Skip to content

Commit

Permalink
Add meta_front_v and meta_remainder_v
Browse files Browse the repository at this point in the history
  • Loading branch information
kduske committed Jan 31, 2023
1 parent fde32d3 commit 4144ff6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/kdl/include/kdl/meta_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ struct meta_front
using remainder = meta_type_list<Remainder...>;
};

template <typename... T>
using meta_front_v = typename meta_front<T...>::front;

template <typename... T>
using meta_remainder_v = typename meta_front<T...>::remainder;

template <typename Subset, typename Superset>
struct meta_is_subset
{
Expand Down

0 comments on commit 4144ff6

Please sign in to comment.