diff options
Diffstat (limited to 'MoonParser/pegtl/istream_input.hpp')
-rw-r--r-- | MoonParser/pegtl/istream_input.hpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/MoonParser/pegtl/istream_input.hpp b/MoonParser/pegtl/istream_input.hpp deleted file mode 100644 index b0232f9..0000000 --- a/MoonParser/pegtl/istream_input.hpp +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | // Copyright (c) 2017 Dr. Colin Hirsch and Daniel Frey | ||
2 | // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ | ||
3 | |||
4 | #ifndef TAOCPP_PEGTL_INCLUDE_ISTREAM_INPUT_HPP | ||
5 | #define TAOCPP_PEGTL_INCLUDE_ISTREAM_INPUT_HPP | ||
6 | |||
7 | #include <istream> | ||
8 | |||
9 | #include "buffer_input.hpp" | ||
10 | #include "config.hpp" | ||
11 | #include "eol.hpp" | ||
12 | |||
13 | #include "internal/istream_reader.hpp" | ||
14 | |||
15 | namespace tao | ||
16 | { | ||
17 | namespace TAOCPP_PEGTL_NAMESPACE | ||
18 | { | ||
19 | template< typename Eol = eol::lf_crlf > | ||
20 | struct istream_input | ||
21 | : buffer_input< internal::istream_reader, Eol > | ||
22 | { | ||
23 | template< typename T > | ||
24 | istream_input( std::istream& in_stream, const std::size_t in_maximum, T&& in_source ) | ||
25 | : buffer_input< internal::istream_reader, Eol >( std::forward< T >( in_source ), in_maximum, in_stream ) | ||
26 | { | ||
27 | } | ||
28 | }; | ||
29 | |||
30 | } // namespace TAOCPP_PEGTL_NAMESPACE | ||
31 | |||
32 | } // namespace tao | ||
33 | |||
34 | #endif | ||