#pragma once

#include <iostream>
#include <fstream>
#include <sstream>
#include <string>


#ifdef _UNICODE

namespace util
{
	typedef std::wistream       tistream;
	typedef std::wostream       tostream;
	typedef std::wifstream      tifstream;
	typedef std::wofstream      tofstream;
	typedef std::wistringstream tistringstream;
	typedef std::wostringstream tostringstream;

	typedef std::wstring string;
}

#else

namespace util
{
	typedef std::istream       tistream;
	typedef std::ostream       tostream;
	typedef std::ifstream      tifstream;
	typedef std::ofstream      tofstream;
	typedef std::istringstream tistringstream;
	typedef std::ostringstream tostringstream;

	typedef std::string string;
}

#endif
