Boost logo

Boost :

Subject: Re: [boost] base class for boost::array
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-15 15:53:54


AMDG

Peter Myerscough-Jackopson wrote:
> In using boost::array I have felt the need to pass around boost::array's
> of an unknown size (unknown to the function receiving the array). I have
> therefore created an abstract base class for boost::array so that I can
> create a pointer to a common base class for arrays of different sizes.
>

This is a non-starter, because it means that boost::array will
no longer be an aggregate.

In Christ,
Steven Watanabe


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