Re: [Boost-bugs] [Boost C++ Libraries] #4193: Multiple 'using' declarations in multi_index test

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4193: Multiple 'using' declarations in multi_index test
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-06 14:23:13


#4193: Multiple 'using' declarations in multi_index test
----------------------------------+-----------------------------------------
 Reporter: chrisj | Owner: joaquin
     Type: Patches | Status: new
Milestone: Boost 1.43.0 | Component: multi_index
  Version: Boost Release Branch | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------

Comment(by anonymous):

 From Doug Gregor, it appears that clang is right to reject the current
 code:


 Clang is correct; Comeau and g++ are wrong not to diagnose these errors.
 See
 C++ [namespace.udecl]p10:

  A using-declaration is a declaration and can therefore be used repeatedly
 where (and only where) multiple declarations are allowed.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4193#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC