Boost logo

Boost :

Subject: Re: [boost] [Stacktrace] Second review begins today 17th Mar ends 26th Mar
From: Peter Dimov (lists_at_[hidden])
Date: 2017-03-18 14:46:52


Antony Polukhin wrote:

> > template<size_t N> using fixed_stacktrace =
> > basic_stacktrace<std::array<frame, N>>;
>
> This won't work, because std::array has no push_back/pop_back methods.

Ordinarily it won't; one would need to use boost::container::static_vector.
But if we go this way, it should be specialized to work with std::array as
well.

> Is boost::container::vector bothers you?

boost::container::vector is not much of a problem; templating on a container
just allows fixed storage without having to write a fixed storage allocator.


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