<commit_before>#include "Log.h"

namespace CppChart
{
	
}<commit_msg>Implement operator<<, ToString()<commit_after>#include <sstream>

#include "Log.h"

namespace CppChart
{
	std::ostream& operator<<(std::ostream& stream, const sf::Vector2f& v)
	{
		stream << "(" << v.x << ", " << v.y << ")";
		return stream;
	}

	std::ostream& operator<<(std::ostream& stream, const sf::Vector2u& v)
	{
		stream << "(" << v.x << ", " << v.y << ")";
		return stream;
	}

	std::ostream& operator<<(std::ostream& stream, const sf::Color& c)
	{
		stream << "(" << static_cast<int>(c.r) << ", " << static_cast<int>(c.g) << "," << static_cast<int>(c.b) << ")";
		return stream;
	}

	template <typename T>
	std::string ToString(const T& val)
	{
		std::ostringstream oss;
		oss << val;
		return oss.str();
	}
}
{'fraction_non_alphanumeric': 0.23096446700507614, 'fraction_numerical': 0.0025380710659898475, 'mean_word_length': 4.26, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 8, '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': '5583111', 'n_tokens_mistral': 319, 'n_tokens_neox': 303, 'n_words': 59}