Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
LegacyTextFormat.hpp File Reference
#include "RuleTypes.hpp"
#include <cstddef>
#include <cstdint>
#include <expected>
#include <functional>
#include <string>
#include <string_view>
Include dependency graph for LegacyTextFormat.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  monopoly::language::LegacyFormatArguments
 
struct  monopoly::language::LegacyFormatResolvers
 

Namespaces

namespace  monopoly
 
namespace  monopoly::language
 

Functions

std::expected< std::u16string, std::string > monopoly::language::wideToUtf16 (std::wstring_view text)
 
std::expected< std::u16string, std::string > monopoly::language::formatLegacyMessage (std::u16string_view pattern, const LegacyFormatArguments &arguments, const LegacyFormatResolvers &resolvers, std::size_t limit)
 

Variables

constexpr std::size_t monopoly::language::LegacyFormattedMessageLimit = 2047