forked from boostorg/regex
Make string_out_iterator a full-fledged output iterator
[SVN r12671]
This commit is contained in:
@ -32,6 +32,7 @@ using std::streambuf;
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
|
#include <iterator>
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <boost/timer.hpp>
|
#include <boost/timer.hpp>
|
||||||
@ -58,7 +59,8 @@ ostream& operator << (ostream& os, const std::wstring& s)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
template <class S>
|
template <class S>
|
||||||
class string_out_iterator
|
class string_out_iterator :
|
||||||
|
public std::iterator<std::output_iterator_tag, void, void, void, void>
|
||||||
{
|
{
|
||||||
S* out;
|
S* out;
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user