From 6b1ef202d89e545d349a493cae747cfb830bd171 Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Thu, 31 Oct 2013 20:35:30 +0900 Subject: [PATCH] fix algorithms SFINAE: iterator or container --- sprout/iterator/type_traits/is_iterator_of.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sprout/iterator/type_traits/is_iterator_of.hpp b/sprout/iterator/type_traits/is_iterator_of.hpp index 1d353a47..8e783b7f 100644 --- a/sprout/iterator/type_traits/is_iterator_of.hpp +++ b/sprout/iterator/type_traits/is_iterator_of.hpp @@ -80,7 +80,8 @@ namespace sprout { struct is_iterator_outputable : public std::integral_constant< bool, - sprout::is_output_iterator::value || sprout::is_forward_iterator::value + sprout::is_output_iterator::type>::value + || sprout::is_forward_iterator::type>::value > {}; } // namespace sprout