Closed slaperche-scality closed 6 years ago
Not sure that const reference used as object's member is a good idea, I'll need to reflect a bit more on this.
Yeah, reference are good for function parameters but pointers are still better for object members (we will use naked pointers for now, in another PR we may have a switch to something with more semantic).
Use const and const reference (instead of pointer) when possible/where it makes sense: help the compiler to help us.