From a1086574496e6a6fa94f4a2dacebd42a4fd3f5f7 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sun, 3 Feb 2002 17:30:13 +0000 Subject: [PATCH] Make string_out_iterator a full-fledged output iterator [SVN r12671] --- example/timer/regex_timer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/timer/regex_timer.cpp b/example/timer/regex_timer.cpp index 0e077f79..2ded700c 100644 --- a/example/timer/regex_timer.cpp +++ b/example/timer/regex_timer.cpp @@ -32,6 +32,7 @@ using std::streambuf; #include #include #include +#include #include #include #include @@ -58,7 +59,8 @@ ostream& operator << (ostream& os, const std::wstring& s) #endif template -class string_out_iterator +class string_out_iterator : + public std::iterator { S* out; public: