Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

analyze/invalid-cpp-member-access

This happens when a .-member form is malformed. It can also happen when the target object is missing. Extra arguments can trigger it too. A missing field on the target type can also trigger it.

Mitigations

Pass exactly one target object. Make sure the named member exists on that type. Make sure it is accessible. The member must be public.