Re: [Boost-bugs] [Boost C++ Libraries] #11202: boost.sort header conflicts with boost.range header

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11202: boost.sort header conflicts with boost.range header
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-18 00:54:00


#11202: boost.sort header conflicts with boost.range header
-----------------------------------------------+------------------------
  Reporter: john2.718281828459045235360287@… | Owner: neilgroves
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: range
   Version: Boost 1.58.0 | Severity: Problem
Resolution: | Keywords: sort
-----------------------------------------------+------------------------
Changes (by stevenross):

 * cc: stevenross (added)
 * keywords: => sort
 * component: sort => range
 * owner: pbristow => neilgroves

Comment:

 This is due to the "using range::sort" at the bottom of
 boost/range/algorithm/sort.hpp (fixing this also requires renaming uses of
 boost::sort to boost::range::sort). It's causing namespace pollution by
 putting a function in the boost:: namespace, that's conflicting with the
 boost::sort library. It's also a violation of this guideline:
 https://svn.boost.org/trac/boost/wiki/Guidelines/MaintenanceGuidelines#Avoidtheinclusionofsymbolsattheboostorboost::detailnamespace

 Neil Groves has agreed to look into it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11202#comment:3>
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:18 UTC