예제 #1
0
 refactor_unary_parser<ParserT, NestedT>
 operator[](parser<ParserT> const& subject) const
 {
     return refactor_unary_parser<ParserT, NestedT>
         (subject.derived(), nested);
 }
예제 #2
0
 explicit distinct_parser(parser<TailT> const & tail_)
 :   tail(tail_.derived())
 {
 }
예제 #3
0
파일: parser.hpp 프로젝트: imos/icfpc2015
 static type call(parser<Derived> const& p)
 {
     return p.derived();
 }