Lines Matching defs:RESULT
603 template <typename RESULT, typename... PARSER>
604 using ApplicableFunctionPointer = RESULT (*)(typename PARSER::resultType &&...);
605 template <typename RESULT, typename... PARSER>
607 const std::function<RESULT(typename PARSER::resultType &&...)> &;
609 template <template <typename...> class FUNCTION, typename RESULT,
611 inline RESULT ApplyHelperFunction(FUNCTION<RESULT, PARSER...> f,
616 template <template <typename...> class FUNCTION, typename RESULT,
619 using funcType = FUNCTION<RESULT, PARSER...>;
622 using resultType = RESULT;
630 return ApplyHelperFunction<FUNCTION, RESULT, PARSER...>(
642 template <typename RESULT, typename... PARSER>
644 ApplicableFunctionPointer<RESULT, PARSER...> f, const PARSER &...parser) {
645 return ApplyFunction<ApplicableFunctionPointer, RESULT, PARSER...>{
649 template <typename RESULT, typename... PARSER>
651 ApplicableFunctionObject<RESULT, PARSER...> f, const PARSER &...parser) {
652 return ApplyFunction<ApplicableFunctionObject, RESULT, PARSER...>{
713 template <typename RESULT, typename... PARSER, std::size_t... J>
714 inline RESULT ApplyHelperConstructor(
716 return RESULT{std::move(*std::get<J>(args))...};
719 template <typename RESULT, typename... PARSER> class ApplyConstructor {
721 using resultType = RESULT;
726 return RESULT{};
734 return ApplyHelperConstructor<RESULT, PARSER...>(
746 return RESULT{};
749 return RESULT{std::move(*arg)};
757 template <typename RESULT, typename... PARSER>
759 return ApplyConstructor<RESULT, PARSER...>{p...};