density
C++11 library for paged memory management, function queues, heterogeneous queues and lifo memory management
Public Member Functions | Static Public Member Functions | List of all members
f_istream Class Reference

#include <io_runtimetype_features.h>

Public Member Functions

void operator() (std::istream &i_istream, void *i_dest) const
 

Static Public Member Functions

template<typename TARGET_TYPE >
static constexpr f_istream make () noexcept
 

Detailed Description

This feature reads an object from an std::istream using the operator >>

Member Function Documentation

static constexpr f_istream make ( )
inlinestaticnoexcept

Creates an instance of this feature bound to the specified target type

void operator() ( std::istream &  i_istream,
void *  i_dest 
) const
inline

Reads the target object from an input stream.

Parameters
i_sourcepointer to an instance of the target type. Can't be null. If the dynamic type of the pointed object is not the target type (assigned by the function make), the behavior is undefined.

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