Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
String.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <alib/set>
9#include <alib/vector>
10
12
13#include "LinearString.h"
14
15namespace string {
16
20class String;
21
22template < class SymbolType >
24 return string::String { string::LinearString < SymbolType > { ext::vector < SymbolType > { symbol } } };
25}
26
27string::LinearString < char > stringFrom ( const std::string & string );
28
29string::LinearString < char > stringFrom ( const char * string );
30
31template < class SymbolType >
34}
35
36
37} /* namespace string */
38
Class extending the vector class from the standard library. Original reason is to allow printing of t...
Definition: vector.hpp:45
Linear string.
Definition: LinearString.h:57
typename T::SymbolType SymbolType
Definition: ReachableStates.h:176
Definition: RandomStringFactory.cpp:12
string::LinearString< char > stringFrom(const std::string &string)
Definition: String.cpp:10