2014-01-28 Jason Merrill ja...@redhat.com:
On 01/27/2014 04:28 PM, Fabien Chêne wrote:
+ if (DECL_DEPENDENT_P (decl) USING_DECL_TYPENAME_P (decl))
+{
+ /* We have found a type introduced by a using
+declaration at class scope that refers to a dependent
+type.
+
OK, thanks.
Jason
Hi,
We fail here to create a typename_type on dependent using
declarations. In fact, facing a USING_DECLs on spotted places, either
we want to strip non-dependent USING_DECLs or we want to create a
typename_type. The attached patch simply propagates the change made to
fix c++/14258 through
On 01/27/2014 04:28 PM, Fabien Chêne wrote:
+ if (DECL_DEPENDENT_P (decl) USING_DECL_TYPENAME_P (decl))
+{
+ /* We have found a type introduced by a using
+declaration at class scope that refers to a dependent
+type.
+
+using typename :: [opt]