13 Mar
2016
13 Mar
'16
10:19 p.m.
2016-03-13 19:01 GMT-03:00 Phil Bouchard
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/