[Boost-bugs] [Boost C++ Libraries] #10269: Move the library to its own namespace

Subject: [Boost-bugs] [Boost C++ Libraries] #10269: Move the library to its own namespace
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-29 07:44:11


#10269: Move the library to its own namespace
------------------------------+------------------------
 Reporter: andysem | Owner: neilgroves
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
------------------------------+------------------------
 Boost.Range defines most of its symbols in the boost:: namespace. This
 introduces conflicts with other Boost libraries, for example:

 http://thread.gmane.org/gmane.comp.lib.boost.devel/249985/focus=249986
 http://lists.boost.org/Archives/boost/2014/07/215581.php

 Another drawback is that in user's code unqualified function calls with
 range arguments use boost:: namespace for symbol lookup, which may
 introduce unexpected results.

 I propose to move all Boost.Range symbols to a dedicated namespace (e.g.
 boost::ranges). For backward compatibility the library can import all
 public interfaces except operators to the boost:: namespace.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10269>
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:16 UTC