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_ostream Class Reference

#include <io_runtimetype_features.h>

Public Member Functions

void operator() (std::ostream &i_ostream, const void *i_dest) const
 

Static Public Member Functions

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

Detailed Description

This feature writes an object to an std::ostream using the operator >>

Member Function Documentation

static constexpr f_ostream make ( )
inlinestaticnoexcept

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

void operator() ( std::ostream &  i_ostream,
const void *  i_dest 
) const
inline

Reads from an input stream the target object.

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: