Re: [Boost-bugs] [Boost C++ Libraries] #10975: The name exception is ambiguous, exception and std::exception.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10975: The name exception is ambiguous, exception and std::exception.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-30 20:33:45


#10975: The name exception is ambiguous, exception and std::exception.
-------------------------------+---------------------
  Reporter: Sergey.Sprogis@… | Owner: djowel
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: spirit
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------
Changes (by Sergey.Sprogis@…):

 * owner: grafik => djowel
 * component: Regression Testing => spirit

Comment:

 In addition to fixe inside match_tests.cpp described in original filings,
 15 more tests from spirit/classic/test directory listed below should be
 similarly modified.
 From all of them "using namespace std" should be removed, and std::
 prefix should be added to the proper STL functions.

 11 tests with require removing "using namespace std" only:

 grammar_tests.cpp

 operators_tests.cpp

 subrule_tests.cpp

 closure_tests.cpp

 parametric_tests.cpp

 switch_tests_eps_default.cpp

 switch_tests_general_def.cpp

 switch_tests_single.cpp

 switch_tests_wo_default.cpp

 switch_tests_single.cpp

 loops_tests.cpp

 4 tests which require to add std:: prefix:

 scanner_tests.cpp : cout, list

 primitives_tests.cpp : cout

 directives_tests.cpp : cout, endl, string

 rule_tests.cpp : cout, endl

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10975#comment:1>
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:17 UTC