15 static const auto map = std::map<std::string, format_t>
48 while (is && isalnum(is.peek()))
C::mapped_type getargs(const std::string &kind, const C &map, const std::string &key)
Find a correspondance in a map.
std::istringstream is
The input stream: the specification to translate.
std::ostream & operator<<(std::ostream &os, direction d)
Pretty-printing.
Print as is. For instance, don't try to escape labels.
std::istream & operator>>(std::istream &is, direction &d)
Parsing.
By default, print for text.
std::ostringstream os
The output stream: the corresponding C++ snippet to compile.
std::string to_string(direction d)
Conversion to string.
#define BUILTIN_UNREACHABLE()