ha, you actually want to ... ha, you actually want to do it the other way around: const MyObject strictLookup const int idx return contents idx //the are angle brackets MyObject strictLookup int idx return const cast MObject static cast const MyContainer this .strictLookup idx Bascially, you have the non-const version call the const version to ... |