Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] make_block
From: TONGARI (tongari95_at_[hidden])
Date: 2011-04-30 15:41:27


2011/5/1 Phil Bouchard <philippe_at_[hidden]>

> On 4/30/2011 12:14 PM, TONGARI wrote:
>
>>
>> What if
>> block_ptr<T> a(make_block<T>(whatever));
>> v.s.
>> block_ptr<T> a(new block<T>(whatever));
>> ?
>>
>
> I just confirmed that there is no difference between
>
> block_ptr<T> a = make_block<T>(whatever);
>
> and
> block_ptr<T> a(make_block<T>(whatever));

I mean,

    block_ptr<T> a(...);
     &
    block_ptr<T> a = ...;

may have some difference, I'm not sure...


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