mirror of
https://git.lynn.is/Gwen/argparser.git
synced 2024-05-16 14:11:08 +02:00
15 lines
353 B
C
15 lines
353 B
C
|
#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
|