<commit_before>#ifndef _TYPE_IS_H_
#define _TYPE_IS_H_

template <typename T>
struct type_is
{
  using type = T;
};

template <template <typename> typename TT, typename T>
struct type_is <TT <T>>
{
  using type = T;
};

template <template <typename ...> typename TT, typename T, typename ... Ts>
struct type_is <TT <T, Ts ...>>
{
  using type = T;
};

#endif // _TYPE_IS_H_
<commit_msg>added convienence function type_is_t<commit_after>#ifndef _TYPE_IS_H_
#define _TYPE_IS_H_

template <typename T>
struct type_is
{
  using type = T;
};

template <template <typename> typename TT, typename T>
struct type_is <TT <T>>
{
  using type = T;
};

template <template <typename ...> typename TT, typename T, typename ... Ts>
struct type_is <TT <T, Ts ...>>
{
  using type = T;
};

template <typename ... Ts>
using type_is_t = typename type_is <Ts ...>::type;

#endif // _TYPE_IS_H_

{'fraction_non_alphanumeric': 0.13958810068649885, 'fraction_numerical': 0.0, 'mean_word_length': 3.861111111111111, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5280629', 'n_tokens_mistral': 334, 'n_tokens_neox': 317, 'n_words': 102}