Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2004-06-15 21:40:03


"Paul C. Leopardi" <leopardi_at_[hidden]> wrote in message
news:200406161025.16589.leopardi_at_bigpond.net.au...
> [...]
> GluCat is a new numeric template class library, hopefully destined
> for promotion to Boost. I would like to know where there is some
> documentation on how to:
> 1. Add concepts. Is there such a thing as a non-commutative
> multiplication concept?

There is as soon as you write one. ;)

> How do I check concepts?

You could check out the Boost.ConceptCheck library:
http://www.boost.org/libs/concept_check/concept_check.htm

> 2. Add numeric limits. Limits of U<T> would default to limits of T.

I'm not sure about this, but I vaguely recall some discussion about
a numeric limits library. I'm not sure if it's complete or what, but a
search of the list archives would probably reveal something
interesting.

> 3. Add numeric promotion_traits. What are promotion_traits?

Not entirely sure, but I suspect they tell you when you can promote
say an int to a double, and things like that.

> [...]
> Also, is there a set of documented procedures which explain what
> is required for a library to be included in Boost?

http://www.boost.org/more/lib_guide.htm

Dave

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 6/7/2004

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk