diff options
Diffstat (limited to 'bpkg/types-parsers')
-rw-r--r-- | bpkg/types-parsers | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/bpkg/types-parsers b/bpkg/types-parsers deleted file mode 100644 index d32a6cf..0000000 --- a/bpkg/types-parsers +++ /dev/null @@ -1,46 +0,0 @@ -// file : bpkg/types-parsers -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -// CLI parsers, included into the generated source files. -// - -#ifndef BPKG_TYPES_PARSERS -#define BPKG_TYPES_PARSERS - -#include <bpkg/types> -#include <bpkg/options-types> - -namespace bpkg -{ - namespace cli - { - class scanner; - - template <typename T> - struct parser; - - template <> - struct parser<path> - { - static void - parse (path&, bool&, scanner&); - }; - - template <> - struct parser<dir_path> - { - static void - parse (dir_path&, bool&, scanner&); - }; - - template <> - struct parser<auth> - { - static void - parse (auth&, bool&, scanner&); - }; - } -} - -#endif // BPKG_TYPES_PARSERS |