Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 1999-11-26 23:06:05

Actually, concept_checks.h is something different than type_traits.h.
As you probably know, type_traits is for finding out information about
the constructors, etc. of a type. concept_checks.h, on the other hand,
is about checking such things as: is the iterator argument the user
passed really a BidirectionalIterator? Or is the value_type of
the vector really Assignable?

John Madsen writes:
> Friday, November 26, 1999, 9:24:25 PM, you wrote:
> jlne> On a side note. Are you guys aware of the addition of concept_checks.h
> jlne> to the SGI STL implementation? If not let me put in a plug for that
> jlne> technology. It allows a template library to check "up front" if the
> jlne> input meets its requirements (at least, the "type" requirements), and
> jlne> even tricks the compiler into giving halfway decent error messages.
> The header is (or at least is now) called type_traits.h.

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