argparser/src/parser_func.h

15 lines
353 B
C
Raw Normal View History

2023-05-16 14:48:01 +02:00
#ifndef ARGPARSER_PARSE_FUNC_H
#define ARGPARSER_PARSE_FUNC_H
#include "defs.h"
#include <functional>
namespace argparser::internal {
template<typename T>
using parser_func = std::function<T(const char *begin, const char *end, const char *&parse_end, internal::parser_allow_undelimited allow_undelimited)>;
}
#endif//ARGPARSER_PARSE_FUNC_H