CppCommon  1.0.4.1
C++ Common Library
stream.inl
Go to the documentation of this file.
1 
9 namespace CppCommon {
10 
11 inline void swap(StdInput& stream1, StdInput& stream2) noexcept
12 {
13  stream1.swap(stream2);
14 }
15 
16 inline void swap(StdOutput& stream1, StdOutput& stream2) noexcept
17 {
18  stream1.swap(stream2);
19 }
20 
21 inline void swap(StdError& stream1, StdError& stream2) noexcept
22 {
23  stream1.swap(stream2);
24 }
25 
26 } // namespace CppCommon
Standard error stream.
Definition: stream.h:128
Standard input stream.
Definition: stream.h:25
Standard output stream.
Definition: stream.h:76
C++ Common project definitions.
Definition: token_bucket.h:15
void swap(FileCache &cache1, FileCache &cache2) noexcept
Definition: filecache.inl:23