From 5068d34c08f951a7ea6257d305a1627b09a95817 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:44:55 +0200 Subject: Adding upstream version 0.11.1. Signed-off-by: Daniel Baumann --- src/third-party/scnlib/include/scn/reader/reader.h | 111 +++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 src/third-party/scnlib/include/scn/reader/reader.h (limited to 'src/third-party/scnlib/include/scn/reader/reader.h') diff --git a/src/third-party/scnlib/include/scn/reader/reader.h b/src/third-party/scnlib/include/scn/reader/reader.h new file mode 100644 index 0000000..cd955ce --- /dev/null +++ b/src/third-party/scnlib/include/scn/reader/reader.h @@ -0,0 +1,111 @@ +// Copyright 2017 Elias Kosunen +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// This file is a part of scnlib: +// https://github.com/eliaskosunen/scnlib + +#ifndef SCN_READER_READER_H +#define SCN_READER_READER_H + +#include "common.h" +#include "float.h" +#include "int.h" +#include "string.h" +#include "types.h" + +#include "../detail/args.h" + +namespace scn { + SCN_BEGIN_NAMESPACE + + template <> + struct scanner : public detail::code_point_scanner { + }; + template <> + struct scanner : public detail::bool_scanner { + }; + template <> + struct scanner : public detail::integer_scanner { + }; + template <> + struct scanner : public detail::integer_scanner { + }; + template <> + struct scanner : public detail::integer_scanner { + }; + template <> + struct scanner : public detail::integer_scanner { + }; + template <> + struct scanner : public detail::integer_scanner { + }; + template <> + struct scanner : public detail::integer_scanner { + }; + template <> + struct scanner : public detail::integer_scanner { + }; + template <> + struct scanner + : public detail::integer_scanner { + }; + template <> + struct scanner + : public detail::integer_scanner { + }; + template <> + struct scanner + : public detail::integer_scanner { + }; + template <> + struct scanner + : public detail::integer_scanner { + }; + template <> + struct scanner + : public detail::integer_scanner { + }; + template <> + struct scanner : public detail::float_scanner { + }; + template <> + struct scanner : public detail::float_scanner { + }; + template <> + struct scanner : public detail::float_scanner { + }; + template + struct scanner, Allocator>> + : public detail::string_scanner { + }; + template + struct scanner> : public detail::span_scanner { + }; + template + struct scanner> + : public detail::string_view_scanner { + }; +#if SCN_HAS_STRING_VIEW + template + struct scanner> + : public detail::std_string_view_scanner { + }; +#endif + template <> + struct scanner; + + SCN_END_NAMESPACE +} // namespace scn + +#endif -- cgit v1.2.3