Class input_adapter

Class Documentation

class input_adapter

Public Functions

inline input_adapter(std::FILE *file)
inline input_adapter(std::istream &i)

input adapter for input stream

inline input_adapter(std::istream &&i)

input adapter for input stream

inline input_adapter(const std::wstring &ws)
inline input_adapter(const std::u16string &ws)
inline input_adapter(const std::u32string &ws)
template<typename CharT, typename std::enable_if<std::is_pointer<CharT>::value and std::is_integral<typename std::remove_pointer<CharT>::type>::value and sizeof(typename std::remove_pointer<CharT>::type) == 1, int>::type = 0>
inline input_adapter(CharT b, std::size_t l)

input adapter for buffer

template<typename CharT, typename std::enable_if<std::is_pointer<CharT>::value and std::is_integral<typename std::remove_pointer<CharT>::type>::value and sizeof(typename std::remove_pointer<CharT>::type) == 1, int>::type = 0>
inline input_adapter(CharT b)

input adapter for string literal

template<class IteratorType, typename std::enable_if<std::is_same<typename iterator_traits<IteratorType>::iterator_category, std::random_access_iterator_tag>::value, int>::type = 0>
inline input_adapter(IteratorType first, IteratorType last)

input adapter for iterator range with contiguous storage

template<class T, std::size_t N>
inline input_adapter(T (&array)[N])

input adapter for array

template<class ContiguousContainer, typename std::enable_if< not std::is_pointer< ContiguousContainer >::value and std::is_base_of< std::random_access_iterator_tag, typename iterator_traits< decltype(std::begin(std::declval< ContiguousContainer const >()))>::iterator_category >::value, int, ::type = 0> inline  input_adapter (const ContiguousContainer &c)

input adapter for contiguous container

inline operator input_adapter_t()