Re: [Boost-bugs] [Boost C++ Libraries] #4296: has_iterator, has_const_iterator metafunctions

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4296: has_iterator, has_const_iterator metafunctions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-23 18:14:14


#4296: has_iterator, has_const_iterator metafunctions
-------------------------------------------------------------------------+--
  Reporter: Tomas Puverle (tomas dot puverle at morganstanley dot com) | Owner: neilgroves
      Type: Feature Requests | Status: closed
 Milestone: Boost 1.46.0 | Component: range
   Version: Boost 1.44.0 | Severity: Not Applicable
Resolution: fixed | Keywords: has_iterator, has_const_iterator
-------------------------------------------------------------------------+--
Changes (by neilgroves):

  * status: assigned => closed
  * resolution: => fixed
  * milestone: Boost 1.44.0 => Boost 1.46.0

Comment:

 I have implemented a solution based primarily on stevens suggestion since
 using BOOST_MPL_HAS_XX_TRAIT_DEF improves compiler support.

 I have chosen to implement this using enable_if to select a base class
 since this works better on many compilers (due to the base class being
 dependent on the template parameters) than the snippet posted above.

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