
2 Nov
2012
2 Nov
'12
4:09 p.m.
Nathan Crookston wrote:
[1] http://stackoverflow.com/questions/8947579/why-isnt-there-a-stdshared-ptrt-s...
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...