with keyword in Pascal can be use to quick access the field of a record. Anybody knows if C++ has anything similar to that?
with
Ex: I have a pointer with m
First I've heard that anybody doesn't like 'with'. The rules are perfectly straightforward, no different from what happens inside a class in C++ or Java. And don't overlook that it can trigger a significant compiler optimization.