<commit_before>#ifndef META_TYPES_HPP
# define META_TYPES_HPP

# include "os.hpp"

# ifdef META_WINDOWS
#  include <windows.h>
#  include <winsock2.h>
# endif

namespace meta
{
	namespace types
	{
		namespace _priv
		{
			template <os::Type _type>
			struct socket
			{
				typedef int 	type;
			};
			#ifdef META_WINDOWS
			template <>
			struct socket<os::Type::Windows>
			{
				typedef SOCKET 	type;
			};
			#endif
		}
		typedef _priv::socket<os::current>::type socket;
	}
}

#endif<commit_msg>[feature/types] add invalid socket<commit_after>#ifndef META_TYPES_HPP
# define META_TYPES_HPP

# include "os.hpp"

# ifdef META_WINDOWS
#  include <windows.h>
#  include <winsock2.h>
# endif

namespace meta
{
	namespace types
	{
		namespace _priv
		{
			template <os::Type _type>
			struct socket
			{
				typedef int 			type;
				static constexpr int	novalid = -1;
			};
			#ifdef META_WINDOWS
			template <>
			struct socket<os::Type::Windows>
			{
				typedef SOCKET 			type;
				static constexpr SOCKET	novalid = INVALID_SOCKET;
			};
			#endif
		}
		typedef _priv::socket<os::current>::type socket;
		constexpr socket invalid_socket = _priv::socket<os::current>::novalid;
	}
}

#endif
{'fraction_non_alphanumeric': 0.11101766190075694, 'fraction_numerical': 0.002523128679562658, 'mean_word_length': 3.423791821561338, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, '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': '5349718', 'n_tokens_mistral': 539, 'n_tokens_neox': 445, 'n_words': 96}