
I don't know if I can post here, but here goes...
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Spencer Collyer Sent: Wednesday, April 26, 2006 11:20 AM To: boost@lists.boost.org 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!