
13 Apr
2016
13 Apr
'16
6:27 a.m.
Hi,
I put emphasis here on the resulting amount of lines of code necessary to implement something because I think that's the most important factor. I have shown that the implementation of a basic list using root_ptr takes no more than 30 lines of code.
Hmmm - but I can use std::list<std::shared_ptr<T>> in just one line of code.
Read the above as "I can >implement< a basic list by the means of root_ptr in 30 lines of code. NOT a list STORING root_ptr.