From f2abc6ae82b08db4aea6ac8ef9d18a7eba86cb08 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Mon, 12 Mar 2007 00:25:41 +0000 Subject: [PATCH] Fixed compilation problem. [SVN r37170] --- include/boost/wave/util/flex_string.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/boost/wave/util/flex_string.hpp b/include/boost/wave/util/flex_string.hpp index 73adbde..52ced9d 100644 --- a/include/boost/wave/util/flex_string.hpp +++ b/include/boost/wave/util/flex_string.hpp @@ -111,6 +111,17 @@ namespace util { namespace flex_string_details { + template + OutIt copy_n(InIt b, + typename std::iterator_traits::difference_type n, OutIt d) + { + for (/**/; n != 0; --n, ++b, ++d) + { + *d = *b; + } + return d; + } + template inline void pod_fill(Pod* b, Pod* e, T c) {