20 lines
543 B
C++
20 lines
543 B
C++
#ifndef WRAP_SSTREAM_HPP
|
|
#define WRAP_SSTREAM_HPP
|
|
|
|
#include "two-mallocs.hpp"
|
|
#include <sstream>
|
|
|
|
namespace eng {
|
|
template<class C, class T=std::char_traits<C>>
|
|
using basic_ostringstream = std::basic_ostringstream<C, T, EngAllocator<C>>;
|
|
using ostringstream = basic_ostringstream<char>;
|
|
} // namespace eng
|
|
|
|
namespace drv {
|
|
template<class C, class T=std::char_traits<C>>
|
|
using basic_ostringstream = std::basic_ostringstream<C, T, DrvAllocator<C>>;
|
|
using ostringstream = basic_ostringstream<char>;
|
|
} // namespace drv
|
|
|
|
#endif // WRAP_SSTREAM_HPP
|