TPIE

11a2c2d
uncompressed_stream.h File Reference

Simple class acting both as a tpie::file and a tpie::file::stream. More...

#include <tpie/tempname.h>
#include <tpie/file.h>
#include <tpie/memory.h>
#include <tpie/file_stream_base.h>

Go to the source code of this file.

Classes

class  tpie::uncompressed_stream< T >
 Simple class acting both as file and a file::stream. More...
 

Namespaces

 tpie
 

Functions

template<typename T >
void std::swap (tpie::uncompressed_stream< T > &a, tpie::uncompressed_stream< T > &b)
 Enable std::swapping two tpie::file_streams. More...
 

Detailed Description

Simple class acting both as a tpie::file and a tpie::file::stream.

Definition in file uncompressed_stream.h.

Function Documentation

◆ swap()

template<typename T >
void std::swap ( tpie::uncompressed_stream< T > &  a,
tpie::uncompressed_stream< T > &  b 
)

Enable std::swapping two tpie::file_streams.

Definition at line 182 of file uncompressed_stream.h.

182  {
183  a.swap(b);
184 }

References std::swap().