openMSX
Classes | Namespaces | Functions
StringReplacer.hh File Reference
#include "MinimalPerfectHash.hh"
#include "narrow.hh"
#include <array>
#include <cassert>
#include <string_view>
#include <tuple>
#include <utility>
Include dependency graph for StringReplacer.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  StringReplacer::detail::FromTo
 
struct  StringReplacer::detail::PmhReplacer< N, PMH >
 

Namespaces

namespace  StringReplacer
 
namespace  StringReplacer::detail
 

Functions

constexpr unsigned StringReplacer::detail::fnvHash (std::string_view s)
 
constexpr auto StringReplacer::detail::create_simple_replacer ()
 
constexpr auto StringReplacer::detail::create_simple_replacer (std::string_view from1, std::string_view to1)
 
constexpr auto StringReplacer::detail::create_simple_replacer (std::string_view from1, std::string_view to1, std::string_view from2, std::string_view to2)
 
constexpr auto StringReplacer::detail::create_simple_replacer (std::string_view from1, std::string_view to1, std::string_view from2, std::string_view to2, std::string_view from3, std::string_view to3)
 
constexpr auto StringReplacer::detail::create_simple_replacer (std::string_view from1, std::string_view to1, std::string_view from2, std::string_view to2, std::string_view from3, std::string_view to3, std::string_view from4, std::string_view to4)
 
template<typename Tuple , size_t... Is>
constexpr auto StringReplacer::detail::create_pmh_replacer (const Tuple &tuple, std::index_sequence< Is... >)
 
template<typename ... Args>
constexpr auto StringReplacer::create (Args ...args)