Boost logo

Boost :

Subject: Re: [boost] [Review Request] array
From: Brian Smith (bjs3141_at_[hidden])
Date: 2012-07-20 22:22:17


On 7/19/12, Lucanus wrote:
> I looked at the documentation. It seems odd that you don't show an example
> of the syntax you are trying to achieve in user code. It is intuitive that
> array<int, 2, 3> my_array would result in something indexable with
> my_array[1][2]. The documentation should say so.

I'll add some examples to the documentation.

> Can this library be made an extension of the existing boost array by
> detecting variadic template/C++-11 support at compile time? It seems it
> should be backward compatible with existing usage of boost array. I would
> prefer that to a new library.

It could be with some interface changes and consent from the author of
Boost.Array.

Regards
Brian


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