25 lines
339 B
C++
25 lines
339 B
C++
#pragma once
|
|
|
|
#include <ios>
|
|
|
|
#include "stream.h"
|
|
|
|
class Request;
|
|
|
|
class OStream : Stream {
|
|
friend class Request;
|
|
private:
|
|
OStream(FCGX_Stream* raw);
|
|
|
|
public:
|
|
~OStream();
|
|
|
|
template <typename T>
|
|
OStream& operator << (const T& value) {
|
|
std << value;
|
|
return *this;
|
|
};
|
|
private:
|
|
std::ostream std;
|
|
};
|