|
Boost : |
Subject: Re: [boost] make_shared_array
From: Peter Dimov (lists_at_[hidden])
Date: 2012-11-02 12:09:23
Nathan Crookston wrote:
> [1]
> http://stackoverflow.com/questions/8947579/why-isnt-there-a-stdshared-ptrt-specialisation
Each time the subject has come up, people have always asked for a
specialization. In fact, there is no need for one as the primary template
already mostly works for T[], it just needs a few small fixes here and
there. We even get T[] -> T const[] conversions for free, since T(*)[] is
convertible to T const(*)[]. Had I realized that before...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk