Sha256: 119a1e122e1e4ae94a4ad869344c86ecc3e97a19c1cd45e2ab831c51545d6958
Contents?: true
Size: 585 Bytes
Versions: 13
Compression:
Stored size: 585 Bytes
Contents
// Copyright (c) 2014-2022 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_INTERNAL_INPUT_PAIR_HPP #define TAO_PEGTL_INTERNAL_INPUT_PAIR_HPP #include <cstdint> #include "../config.hpp" namespace TAO_PEGTL_NAMESPACE::internal { template< typename Data > struct input_pair { Data data; std::uint8_t size; using data_t = Data; explicit operator bool() const noexcept { return size > 0; } }; } // namespace TAO_PEGTL_NAMESPACE::internal #endif
Version data entries
13 entries across 13 versions & 1 rubygems