FST  openfst-1.8.2
OpenFst Library
Classes | Namespaces | Macros | Typedefs | Functions
compat.h File Reference
#include <algorithm>
#include <climits>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <memory>
#include <numeric>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fst::internal::type_identity< T >
 
class  fst::CheckSummer
 
class  fst::iterator_range< IteratorT >
 
struct  fst::SkipEmpty
 
struct  fst::ByAnyChar
 
class  fst::internal::StringSplitter
 
class  fst::StringOrInt
 

Namespaces

 fst
 
 fst::internal
 

Macros

#define OPENFST_DEPRECATED(message)
 

Typedefs

template<typename T >
using fst::internal::type_identity_t = typename type_identity< T >::type
 

Functions

void FailedNewHandler ()
 
template<typename To , typename From >
To fst::down_cast (From *f)
 
template<typename To , typename From >
To fst::down_cast (From &f)
 
template<class Dest , class Source >
Dest fst::bit_cast (const Source &source)
 
template<typename To >
constexpr To fst::implicit_cast (typename internal::type_identity_t< To > to)
 
template<typename T >
std::unique_ptr< T > fst::make_unique_for_overwrite ()
 
template<typename T >
std::unique_ptr< T > fst::make_unique_for_overwrite (size_t n)
 
template<typename T >
std::unique_ptr< T > fst::WrapUnique (T *ptr)
 
template<typename T >
iterator_range< T > fst::make_range (T x, T y)
 
template<class S >
size_t fst::internal::GetResultSize (const std::vector< S > &elements, size_t s_size)
 
template<class S >
std::string fst::StringJoin (const std::vector< S > &elements, std::string_view delim)
 
template<class S >
std::string fst::StringJoin (const std::vector< S > &elements, char delim)
 
internal::StringSplitter fst::StrSplit (std::string_view full, ByAnyChar delim)
 
internal::StringSplitter fst::StrSplit (std::string_view full, char delim)
 
internal::StringSplitter fst::StrSplit (std::string_view full, ByAnyChar delim, SkipEmpty)
 
internal::StringSplitter fst::StrSplit (std::string_view full, char delim, SkipEmpty)
 
void fst::StripTrailingAsciiWhitespace (std::string *full)
 
std::string_view fst::StripTrailingAsciiWhitespace (std::string_view full)
 
std::string fst::StrCat (const StringOrInt &s1, const StringOrInt &s2)
 
std::string fst::StrCat (const StringOrInt &s1, const StringOrInt &s2, const StringOrInt &s3)
 
std::string fst::StrCat (const StringOrInt &s1, const StringOrInt &s2, const StringOrInt &s3, const StringOrInt &s4)
 
std::string fst::StrCat (const StringOrInt &s1, const StringOrInt &s2, const StringOrInt &s3, const StringOrInt &s4, const StringOrInt &s5)
 
bool fst::StartsWith (std::string_view text, std::string_view prefix)
 
bool fst::ConsumePrefix (std::string_view *s, std::string_view expected)
 

Macro Definition Documentation

#define OPENFST_DEPRECATED (   message)

Definition at line 40 of file compat.h.

Function Documentation

void FailedNewHandler ( )

Definition at line 26 of file compat.cc.