|
Boost : |
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-01-28 19:17:42
In addition to the compile-time requirements, I bet there are also some
run time requirements. For example, a list of the same object over and
over again probably wouldn't work for input, right?
On Mon, 28 Jan 2002 jpanzer_at_[hidden] wrote:
> Hi Jeremy-
>
> The value_type must be copy constructible and (of course) must be
> compatible with the argument types of the predicate under test.
> Also, for this version, it must have some appropriate operator<<
> defined for stream output. (All the requirements are detailed in the
> header file in this draft. If this proves to be of interest, I'm sure
> the last requirement can be made optional.)
>
> -John
>
> Jeremy Siek wrote:
>
> > Hi John,
> >
> > This is great!
> >
> > BTW, I assume that there are some preconditions on the data set. What are
> > they?
> >
> > On Mon, 28 Jan 2002, johnrpanzer wrote:
> > jpanze> All,
> > jpanze>
> > jpanze> Many moons ago, I asked if there would be any interest
> > jpanze> in something to do runtime concept checking (at least
> > jpanze> for ordering predicates). One or two people expressed
> > jpanze> some mild curiosity, so as part of my New Year's resolutions,
> > jpanze> I've uploaded a draft implementation of an ordering
> > jpanze> predicate checker to:
> > jpanze>
> > jpanze> http://groups.yahoo.com/group/boost/files/test_strict_weak_ordering/
> > ...
>
>
> Info: http://www.boost.org Send unsubscribe requests to: <mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
----------------------------------------------------------------------
Jeremy Siek http://www.osl.iu.edu/~jsiek/
Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk