Function is_eof_value

Synopsis

#include "breeze/stream/eof_value.hpp"

template <typename Stream>
bool is_eof_value(typename Stream::int_type x, Stream const &)

Description

Returns
Whether x equals the eof value for the Stream given as the second argument.

Source

Lines 66-72 in breeze/stream/eof_value.hpp.

template< typename Stream >
bool
is_eof_value( typename Stream::int_type x, Stream const & )
{
    return Stream::traits_type::eq_int_type( x,
            Stream::traits_type::eof() ) ;
}