From 0addcfadeb7cf357384d234bac0e96819187b4c8 Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Sun, 15 Sep 2013 22:15:46 +0000 Subject: [PATCH] [boost][range] - changed join_iterator reference type handling to address several user observations and failing clang builds. [SVN r85692] --- test/join.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/join.cpp b/test/join.cpp index b30d060..cff3f35 100644 --- a/test/join.cpp +++ b/test/join.cpp @@ -135,7 +135,11 @@ namespace boost { Collection1 c1(rng1); Collection2 c2(rng2); - typedef typename boost::range_value::type value_t; + + typedef BOOST_DEDUCED_TYPENAME boost::range_value< + Collection1 + >::type value_t BOOST_RANGE_UNUSED; + fill_with_ints(boost::join(c1,c2)); // Ensure that the size of the written range has not been