Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
internal::StreamLocalCopy< Stream, 1 > Class Template Reference

Do copy optimization. More...

#include <reader.h>

Collaboration diagram for internal::StreamLocalCopy< Stream, 1 >:

Public Member Functions

 StreamLocalCopy (Stream &original)
 
 ~StreamLocalCopy ()
 

Public Attributes

Stream s
 

Detailed Description

template<typename Stream>
class internal::StreamLocalCopy< Stream, 1 >

Definition at line 229 of file reader.h.

Constructor & Destructor Documentation

◆ StreamLocalCopy()

template<typename Stream >
internal::StreamLocalCopy< Stream, 1 >::StreamLocalCopy ( Stream & original)
inline

Definition at line 231 of file reader.h.

231: s(original), original_(original) {}

◆ ~StreamLocalCopy()

template<typename Stream >
internal::StreamLocalCopy< Stream, 1 >::~StreamLocalCopy ( )
inline

Definition at line 232 of file reader.h.

232{ original_ = s; }

Member Data Documentation

◆ s

template<typename Stream >
Stream internal::StreamLocalCopy< Stream, 1 >::s

Definition at line 234 of file reader.h.


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