From 03ba146d8473c3178bccc05c7d1abebbd393a850 Mon Sep 17 00:00:00 2001 From: "Damien Buhl (alias daminetreg)" Date: Mon, 20 Oct 2014 12:54:31 +0200 Subject: [PATCH] lvalue typedef for acess::struct_member is a dependent scope to templated parameter when used within BOOST_FUSION_ADAPT_ASSOC_TPL_ADT. This fixes test sequence/adapt_assoc_tpl_adt.cpp. --- include/boost/fusion/adapted/adt/detail/adapt_base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/fusion/adapted/adt/detail/adapt_base.hpp b/include/boost/fusion/adapted/adt/detail/adapt_base.hpp index c304a4d1..80a62b3e 100644 --- a/include/boost/fusion/adapted/adt/detail/adapt_base.hpp +++ b/include/boost/fusion/adapted/adt/detail/adapt_base.hpp @@ -214,12 +214,12 @@ , I \ > \ { \ - typedef \ + typedef typename \ adt_attribute_proxy< \ BOOST_FUSION_ADAPT_STRUCT_UNPACK_NAME(NAME_SEQ) \ , I \ , false \ - >::type lvalue; \ + >::type lvalue; \ \ BOOST_FUSION_ADAPT_STRUCT_MSVC_REDEFINE_TEMPLATE_PARAMS( \ TEMPLATE_PARAMS_SEQ) \