From 1d018cc6020fc4a7d5d1ba176916daddfdc14edd Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 15 Feb 2005 12:41:23 +0000 Subject: [PATCH] Borland workaround. Replace 'add_const::type with 'const value_type' in the code which computed the pointer type. Borland did not property add const type with 'add_const'. [SVN r27388] --- include/boost/iterator/iterator_facade.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/iterator/iterator_facade.hpp b/include/boost/iterator/iterator_facade.hpp index a0c5604..45a9055 100644 --- a/include/boost/iterator/iterator_facade.hpp +++ b/include/boost/iterator/iterator_facade.hpp @@ -107,7 +107,7 @@ namespace boost typedef typename mpl::eval_if< detail::iterator_writability_disabled - , add_pointer::type> + , add_pointer , add_pointer >::type pointer;