Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8011: iterator_range::size() is not SFINAE-friendly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-18 05:34:43
#8011: iterator_range::size() is not SFINAE-friendly
---------------------------------------------------------+------------------
Reporter: Jonathan Wakely <jwakely.boost@â¦> | Owner: neilgroves
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------------------+------------------
Comment (by nathanridge):
Replying to [comment:7 jwakely.boost@â¦]:
> I see my request as analogous to the standard's requirement that a
function shall not participate in overload resolution if it doesn't meet
the required concepts. The size() member isn't a function template so
can't use disable_if directly, hence my suggestion to move it to a base
class that can be partially specialized, but I don't care how it's done, I
just think it should be done.
I started a thread on the boost mailing list about this topic:
http://thread.gmane.org/gmane.comp.lib.boost.devel/238845
Feel free to weigh in. I will implement the workaround if it has
concensus.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8011#comment:9> 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:12 UTC