diff options
author | Ilnur Khuziev <ilnur.khuziev@yandex.ru> | 2022-02-10 16:46:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:13 +0300 |
commit | 736dcd8ca259457a136f2f9f9168c44643914323 (patch) | |
tree | ddd46a036d68bfa83aa11b892f31243ea6b068a1 /library/cpp/getopt/small/last_getopt_handlers.h | |
parent | 9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff) | |
download | ydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz |
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/getopt/small/last_getopt_handlers.h')
-rw-r--r-- | library/cpp/getopt/small/last_getopt_handlers.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/library/cpp/getopt/small/last_getopt_handlers.h b/library/cpp/getopt/small/last_getopt_handlers.h index d35456ef34..db6e21ded3 100644 --- a/library/cpp/getopt/small/last_getopt_handlers.h +++ b/library/cpp/getopt/small/last_getopt_handlers.h @@ -1,19 +1,19 @@ -#pragma once - -#include "last_getopt_support.h" - -#include <util/string/split.h> +#pragma once + +#include "last_getopt_support.h" + +#include <util/string/split.h> #include <util/system/compiler.h> - -namespace NLastGetopt { - /// Handler to split option value by delimiter into a target container. + +namespace NLastGetopt { + /// Handler to split option value by delimiter into a target container. template <class Container> - struct TOptSplitHandler; - - /// Handler to split option value by delimiter into a target container and allow ranges. + struct TOptSplitHandler; + + /// Handler to split option value by delimiter into a target container and allow ranges. template <class Container> - struct TOptRangeSplitHandler; - + struct TOptRangeSplitHandler; + /// Handler to parse key-value pairs (default delimiter is '=') and apply user-supplied handler to each pair template <class TpFunc> struct TOptKVHandler; @@ -21,4 +21,4 @@ namespace NLastGetopt { [[noreturn]] void PrintUsageAndExit(const TOptsParser* parser); [[noreturn]] void PrintVersionAndExit(const TOptsParser* parser); [[noreturn]] void PrintShortVersionAndExit(const TString& appName); -} +} |