Boost logo

Boost :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-04-26 15:33:06


I don't know if I can post here, but here goes...

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Spencer Collyer
> Sent: Wednesday, April 26, 2006 11:20 AM
> To: boost_at_[hidden]
> Subject: [boost] Possible class submission: Sparse Array
>
> I'd like to canvas opinions on whether it is worth submitting a class
> I've developed to Boost.
> bounds:
> This determines what the bounds on the sparse_array are, and
> how values
> that exceed them are handled. For example, the 'unbounded'
> policy allows
> virtually any positive value of the subscript type to be
> used, 'bounded'
> only allows values within the (compile-time specified) max value and
> throws if a subscript exceeding this is given, while
> 'clamped' makes such
> value equal to the max value.

Would there be a bounds type for specifying runtime bounds? It seems the
upper bound if specified, can only be specified at compile time and this
would limit the size of your arrays... Or is this by design?

Thanks!


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