Re: [hub] on the specialized iteration over elements

Jean-Louis Leroy via Boost <[email protected]>
Newsgroups gmane.comp.lib.boost.devel
Message-ID <CAKPZfxm2otK8ZdK0=MU9jZfHEYeLvRShOCG23_Hyw-q2_omVsw@mail.gmail.com>
> Third, the interface is rather unusual, and it allows one hub to iterate
> over another hub's elements:
>
> hub<T> h, g;
> h.visit(g.begin(), g.end(), fun);

I guess it can be useful to iterate over a narrower range. But in
that spirit, I would expect 'visit' to return the "end" iterator.

J-L
_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/ZUIXARNMOKZFSWUIKL4NOUKZW4J4TL3G/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.