From bf11510e717b2267fe0266aa5b122cb20d0be279 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 7 Nov 2001 12:37:29 +0000 Subject: [PATCH] Fixed example to work with VC7b2 [SVN r11625] --- examples/copy_example.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/copy_example.cpp b/examples/copy_example.cpp index 9c96930..66d6d3b 100644 --- a/examples/copy_example.cpp +++ b/examples/copy_example.cpp @@ -111,7 +111,7 @@ inline I2 copy_(const I1& first, const I1& last, const I2& out) } template -inline T* copy_(const T* first, const T* last, T* out) +inline T* copy_(const T*& first, const T*& last, T*& out) { return detail::copier< ::boost::has_trivial_assign::value @@ -239,3 +239,4 @@ int cpp_main(int argc, char* argv[]) +