<commit_before>#ifndef MEMPKO_DCI_H
#define MEMPKO_DCI_H

#include <iostream>
#include <boost/assert.hpp>

namespace mempko { namespace dci {

#define ADD_SELF(t) \
    t* const self() { return static_cast<t*>(this);} \
    const t* self() const { return static_cast<const t*>(this);} 


}}//namespace

#endif<commit_msg>created easy macro to create type tags<commit_after>#ifndef MEMPKO_DCI_H
#define MEMPKO_DCI_H

#include <iostream>
#include <boost/assert.hpp>

namespace mempko { namespace dci {

#define ADD_SELF(t) \
    t* const self() { return static_cast<t*>(this);} \
    const t* self() const { return static_cast<const t*>(this);} 

#define TAG(t) struct t {};


}}//namespace

#endif
{'fraction_non_alphanumeric': 0.14367816091954022, 'fraction_numerical': 0.0, 'mean_word_length': 4.760330578512397, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2076280', 'n_tokens_mistral': 263, 'n_tokens_neox': 253, 'n_words': 65}