reglibcpp  2.0.0
A C++ implementation of models for regular languages
Classes | Namespaces | Functions | Variables
utils.h File Reference

Contains utility classes, objects and functions used throughout the library. More...

#include <codecvt>
#include <locale>
#include <unordered_set>
#include <functional>
#include <valarray>

Go to the source code of this file.

Classes

struct  reg::state_not_found
 Signals that a state was mentioned that isn't part of the FA. More...
 
struct  reg::symbol_not_found
 Signals that an input symbol was used that the FA doesn't recognize. More...
 

Namespaces

 reg
 Where this library lives.
 

Functions

template<class C , class T >
size_t reg::index_of (C const &container, T const &element)
 Basically Java's List interface's indexOf, but as a non-member function and returning the container's size upon failure. More...
 

Variables

std::wstring_convert< std::codecvt_utf8< char32_t >, char32_t > reg::converter
 Converts between UTF-8-encoded and UTF-32-encoded strings. More...
 

Detailed Description

Contains utility classes, objects and functions used throughout the library.

Definition in file utils.h.