pica/stream/ostream.h

25 lines
339 B
C
Raw Normal View History

2023-11-21 22:19:08 +00:00
#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;
};