<commit_before>#pragma once
#include <type_traits>
#include <stdexcept>
#include <std/experimental/tagged.hpp>
#include "named_tag.hpp"

namespace named_types {

template <class T> struct __ntuple_tag_spec {};
template <class Spec, class Arg> struct __ntuple_tag_spec<Arg(Spec)> { using type = typename named_tag<Spec>::type; };
template <class T> struct __ntuple_tag_elem {};
template <class Spec, class Arg> struct __ntuple_tag_elem<Arg(Spec)> { using type = Arg; };

template <class T> struct __ntuple_tag_notation {};
template <class Spec, class Arg> struct __ntuple_tag_notation<Arg(Spec)> { using type = typename named_tag<Spec>::type(Arg); };

template <class...Types> 
struct named_tuple : public std::tagged_tuple<typename __ntuple_tag_notation<typename Types>::type  ...>
//struct named_tuple : std::tagged_tuple< Types ...
{
  // Type aliases

  using tagged_type = std::tagged_tuple<typename __ntuple_tag_notation<typename Types>::type  ...>;
  using std::tagged_tuple<typename __ntuple_tag_notation<typename Types>::type  ...>::tagged_tuple;
  
  // Static data

  static constexpr size_t size = sizeof ... (Types);

  // Constructors

  constexpr named_tuple() = default;
  constexpr named_tuple(named_tuple&&) = default;
  constexpr named_tuple(const named_tuple&) = default;
  named_tuple &operator=(named_tuple&&) = default;
  named_tuple &operator=(const named_tuple&) = default;

 private:<commit_msg>Fix Clang/CC build.<commit_after>#pragma once
#include <type_traits>
#include <stdexcept>
#include <std/experimental/tagged.hpp>
#include "named_tag.hpp"

namespace named_types {

template <class T> struct __ntuple_tag_spec {};
template <class Spec, class Arg> struct __ntuple_tag_spec<Arg(Spec)> { using type = typename named_tag<Spec>::type; };
template <class T> struct __ntuple_tag_elem {};
template <class Spec, class Arg> struct __ntuple_tag_elem<Arg(Spec)> { using type = Arg; };

template <class T> struct __ntuple_tag_notation {};
template <class Spec, class Arg> struct __ntuple_tag_notation<Arg(Spec)> { using type = typename named_tag<Spec>::type(Arg); };

template <class...Types> 
struct named_tuple : public std::tagged_tuple<typename __ntuple_tag_notation<Types>::type  ...>
//struct named_tuple : std::tagged_tuple< Types ...
{
  // Type aliases

  using tagged_type = std::tagged_tuple<typename __ntuple_tag_notation<Types>::type  ...>;
  using std::tagged_tuple<typename __ntuple_tag_notation<Types>::type  ...>::tagged_tuple;
  
  // Static data

  static constexpr size_t size = sizeof ... (Types);

  // Constructors

  constexpr named_tuple() = default;
  constexpr named_tuple(named_tuple&&) = default;
  constexpr named_tuple(const named_tuple&) = default;
  named_tuple &operator=(named_tuple&&) = default;
  named_tuple &operator=(const named_tuple&) = default;

 private:
{'fraction_non_alphanumeric': 0.12841433132316424, 'fraction_numerical': 0.0, 'mean_word_length': 5.746411483253588, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 45, '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': '2215529', 'n_tokens_mistral': 901, 'n_tokens_neox': 864, 'n_words': 218}