Boost logo

Boost Users :

Subject: Re: [Boost-users] [range] questions about documentation and usage
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-11-04 13:46:52


Le 04/11/12 09:37, Robert Ramey a écrit :
> c) Declare concept archtypes from reading your documentation.
> This is described in the Boost Concept library documentation.
> This archtype class looks like:
>
> template <class T>
> SinglePassRangeArchType {
> // examples of "valid expressions" from the documentation go here
> };
>
> OK First red flag - the "valid expressions" are members of type T
> so it's not at all clear to me how to fill this in.
I don't know from where you got that "valid expressions" should use
member types. Concepts can concern non-member functions, think for
example of a Swapable concept.

Best,
Vicente


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net