Wrap all STL includes to support drv:: and eng::
This commit is contained in:
19
luprex/core/wrap/wrap-sstream.hpp
Normal file
19
luprex/core/wrap/wrap-sstream.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#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 = std::basic_ostringstream<char>;
|
||||
} // namespace eng
|
||||
|
||||
namespace drv {
|
||||
template<class C, class T=std::char_traits<C>>
|
||||
using basic_ostringstream = std::basic_ostringstream<C, T, std::allocator<C>>;
|
||||
using ostringstream = std::basic_ostringstream<char>;
|
||||
} // namespace drv
|
||||
|
||||
#endif // WRAP_SSTREAM_HPP
|
||||
Reference in New Issue
Block a user