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 15:07:11


#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 steven_watanabe):

 Huh?

 The standard reference seems to imply that

 {{{
 #include <algorithm>
 int main() {
     using std::swap;
     using std::swap;
 }
 }}}

 is legal iff

 {{{
 int main() {
     void swap(int&, int&);
     void swap(int&, int&);
 }
 }}}

 is legal. I would find it very weird if the latter is illegal.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4193#comment:5>
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