pstore2
Public Member Functions | List of all members
pstore::serialize::archive::range_reader< InputIterator > Class Template Reference

An archive-reader which consumes data from an iterator. More...

#include <archive.hpp>

Public Member Functions

 range_reader (InputIterator first)
 Constructs the writer using an input iterator.
 
InputIterator iterator ()
 
template<typename Ty >
void get (Ty &v)
 Reads a single instance of a standard-layout type Ty from the input iterator and returns the value extracted. More...
 
template<typename SpanType >
void getn (SpanType span)
 

Detailed Description

template<typename InputIterator>
class pstore::serialize::archive::range_reader< InputIterator >

An archive-reader which consumes data from an iterator.

Member Function Documentation

◆ get()

template<typename InputIterator >
template<typename Ty >
void pstore::serialize::archive::range_reader< InputIterator >::get ( Ty &  v)
inline

Reads a single instance of a standard-layout type Ty from the input iterator and returns the value extracted.


The documentation for this class was generated from the following file: