stream_wrap: use getters, not direct field access
Hide member fields behind getters. Make the fields themselves const in the sense that the pointer is non-assignable - the pointed to object remains mutable. Makes reasoning about lifecycle and mutability a little easier.
parent
4692b725
Please register or sign in to comment