Subject: Re: [boost] [Block Pointer] Benchmarks
From: Vinícius dos Santos Oliveira (vini.ipsmaker_at_[hidden])
Date: 2016-03-13 18:19:00


2016-03-13 19:01 GMT-03:00 Phil Bouchard <philippeb8_at_[hidden]>:

> Thanks but I just can't see function calls using:
>
> void foo(leaf_ptr<int> const & p);
> void foo(child_ptr<int> const & p);
>
>
> I think the following is better:
>
> void foo(node_ptr<int> const & p);
>
>
> Because you can still call the function using a root_ptr<>:

I wasn't aware of this behavior. I agree with `node` working better.

-- 
Vinícius dos Santos Oliveira
https://vinipsmaker.github.io/