|
Boost : |
Subject: Re: [boost] [Container] Inner Smart Pointers
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-02-19 21:30:55
AMDG
On 02/19/2016 05:53 PM, Phil Bouchard wrote:
> On 2016-02-18 11:53 PM, Phil Bouchard wrote:
>> I have to admit MSVC 2015 got a clean STL...
>
> Their STL is good but unfortunately they pass their pointer arguments by
> value and not by reference so it makes it impossible to use smart
> pointers for internal node pointers.
>
I don't understand how pass-by-value would
break smart pointers. I can see that it might
be inefficient, but it shouldn't actually fail.
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