Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-03-06 20:01:59

Thorsten Ottosen <tottosen_at_[hidden]> writes:

> Daniel Walker wrote:
>> Hello,
>> I've been using the Boost Range library a lot lately and felt the need for
>> some compile-time concept checks. They're pretty simple to write using the
>> Boost Concept Check library. So, I wrote concept checking classes for the
>> four range concepts mentioned in the documentation. To illustrate their
>> usage, the following checks if a type X models the ForwardRange concept.
>> Anyway, I hope there's enough interest to include concept checks like these
>> in the Boost Range library for a future release. I'd be glad to submit a
>> file containing my implementations. Please, let me know what you think!
> I haven't got time to look at you implementation, but I'm confident
> it would be a nice addition to the concept-check library. Try
> to contact the author/maintainer of that library directly.

Concept checks for the Range concepts belong in the range library.
The concept check library shouldn't be grown to include checks for
every concept defined by another library author.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at