20 template <Automaton Aut>
28 f,
": invalid context: ",
vname,
30 return std::move(res->
as<Aut>());
automaton read_automaton(std::istream &is, const std::string &format="default", bool strip=true, const location &loc=location{})
Read an automaton from a stream.
Aut read_automaton(std::istream &is, const std::string &f="default")
Static version of the read_automaton function.
auto & as()
Extract wrapped typed automaton.
symbol vname() const
A description of the automaton, sufficient to build it.
#define VCSN_REQUIRE(Cond,...)
A macro similar to require.