Re: [Boost-bugs] [Boost C++ Libraries] #5963: Patch [Fixes #5961]: Disallow comparisons of differing iterator types in ptr_container

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5963: Patch [Fixes #5961]: Disallow comparisons of differing iterator types in ptr_container
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-29 21:11:47


#5963: Patch [Fixes #5961]: Disallow comparisons of differing iterator types in
ptr_container
--------------------------------------------------+-------------------------
  Reporter: Rob Desbois <rob.desbois@…> | Owner: nesotto
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: ptr_container
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: iterator, type, compare
--------------------------------------------------+-------------------------

Comment (by anonymous):

 Thorsten's enable_if solution has the advantage that instantiation errors
 will be reported in user's code, whereas the static assert will generate
 errors in Boost headers, which is not ideal.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5963#comment:6>
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:07 UTC