|
Boost : |
Subject: Re: [boost] [smart_ptr] explicit instantiation of boost::shared_ptr
From: Peter Dimov (lists_at_[hidden])
Date: 2014-11-12 12:06:32
Petr Machata wrote:
> >> return static_cast< typename boost::detail::sp_array_access< T
> >> >::type > ( px[ i ] );
...
> Actually, array_fail_array_access.cpp fails with this patch (as in, it
> compiles successfully, which is a failure). Arguably it's not a big deal
> that the subscription operator exists if it doesn't actually do anything.
> But I expect the base class variant would keep the test failing. Let me
> know what you think.
I've "fixed" the test instead (on develop).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk