Re: [Boost-bugs] [Boost C++ Libraries] #1315: iterator_adaptor does not work with incomplete Value types

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1315: iterator_adaptor does not work with incomplete Value types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-24 14:43:35


#1315: iterator_adaptor does not work with incomplete Value types
--------------------------------------+-------------------------------------
  Reporter: joaquin | Owner: dave
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: iterator
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by Laurent Rineau <Laurent.Rineau__boost_at_[hidden]>):

 As far as I have understood, when
 `iterator_facade<Derived,Value,Category,...>` is instanciated, the type
 `Value` is required to be complete because of the following member
 function prototype:
 {{{
 typename detail::operator_brackets_result<Derived,Value,reference>::type
 operator[](difference_type n) const
 }}}
 which triggers the instanciation of
 `use_operator_brackets_proxy<Value,Reference>` (in the same file), which
 triggers the instanciation of `is_POD<Value>`, which requires a complete
 type.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1315#comment:2>
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:49:57 UTC