parsi/fn/eos.hpp

namespace parsi

Functions

constexpr auto eos() noexcept -> fn::Eos

Creates a parser that expects the stream to have come to its end.

namespace fn
struct Eos
#include <eos.hpp>

A parser that expects the stream to have come to its end.

Public Functions

inline constexpr auto operator()(Stream stream) const noexcept -> Result