There's times when a member variable manages its own invariant and any of its values is valid for the containing class, in which case the container doesn't need to further restrict access to it; a public struct doesn't need to be wrapped in a get function or anything.