Symphony Of Empires
string.hpp File Reference
#include <string>
#include <vector>
#include <cstdint>
#include <mutex>
#include <memory>
#include <compare>
#include <iterator>
#include <stdexcept>
#include "eng3d/utils.hpp"
Include dependency graph for string.hpp:

Go to the source code of this file.

Classes

struct  Eng3D::StringRef
 A reference to a string on the global string pool. More...
 
class  Eng3D::StringManager
 The string pool manager (singleton), used mainly for translation purpouses. But also helps to reduce the memory size of various objects. More...
 

Namespaces

 Eng3D
 
 Eng3D::Locale
 

Functions

template<typename ... Args>
std::string Eng3D::string_format (const std::string_view format, Args &&... args)
 String formatter. More...
 
void Eng3D::Locale::from_file (const std::string &filename)
 
std::string Eng3D::Locale::translate (const std::string_view str)
 
template<typename ... Args>
std::string Eng3D::translate_format (const std::string_view format, Args &&... args)
 String formatter, with translation. More...