Connecting Tech Pros Worldwide Forums | Help | Site Map

forward_iterator_tag

Fraser Ross
Guest
 
Posts: n/a
#1: Sep 5 '06
input_iterator_tag
output_iterator_tag
forward_iterator_tag

Does forward_iterator_tag publicly inherit from the two others I've
listed?


Fraser.



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

mlimber
Guest
 
Posts: n/a
#2: Sep 5 '06

re: forward_iterator_tag


Fraser Ross wrote:
Quote:
input_iterator_tag
output_iterator_tag
forward_iterator_tag
>
Does forward_iterator_tag publicly inherit from the two others I've
listed?
No. Google returns that answer, too.

Cheers! --M

mlimber
Guest
 
Posts: n/a
#3: Sep 5 '06

re: forward_iterator_tag


mlimber wrote:
Quote:
Fraser Ross wrote:
Quote:
input_iterator_tag
output_iterator_tag
forward_iterator_tag

Does forward_iterator_tag publicly inherit from the two others I've
listed?
>
No. Google returns that answer, too.
(By "No," I meant it doesn't inherit from both. It does inherit from
one of them. Which one is left as an exercise for the googler.)

Cheers! --M

Fraser Ross
Guest
 
Posts: n/a
#4: Sep 5 '06

re: forward_iterator_tag


Fraser Ross wrote:
Quote:
Quote:
Quote:
input_iterator_tag
output_iterator_tag
forward_iterator_tag
>
Does forward_iterator_tag publicly inherit from the two others
I've
Quote:
Quote:
Quote:
listed?
No. Google returns that answer, too.
>
(By "No," I meant it doesn't inherit from both. It does inherit from
one of them. Which one is left as an exercise for the googler.)

Forward iterators are also input iterators and output iterators. Why
does it not inherit from output_iterator_tag?

Fraser.



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Closed Thread


Similar C / C++ bytes