using namespace roast;
using namespace roast::lexical;
+struct A
+{
+void hoge(){}
+};
+
int main()
{
+ A a;
+ a.hoge();
try{
lexical::println(fixed_char<'U'>());
- lexical::println(fixed_string("aaca",3));
+ lexical::println(seq<fixed_char<'U'>, fixed_char<'T'> >());
+ lexical::println(fixed_string("aaca",3));
fixed_char<'U'> fixed_u;
fixed_string fixed_string_test("aaca",3);
+ seq<fixed_char<'U'>, fixed_char<'T'> > seq_test;
printf("%d\n", lexical::parse(fixed_u, "Z") );
printf("%d\n", lexical::parse(fixed_string_test, "aacaZ") );
+ printf("%d\n", lexical::parse(seq_test, "Ud") );
}
catch(const ::std::string &s)
{