3 ms·
> internal methods have cryptic names They choose names like _Capitalized and __lowercase because those identifiers are reserved for the implementation. Its a
by brandmeyer 5y ago
> internal methods have cryptic names
They choose names like _Capitalized and __lowercase because those identifiers are reserved for the implementation. Its a consequence of the preprocessor's lack of hygiene.
So where you might see a convention of naming members like m_thingish_foo, in the implementation's library headers they would be named _M_thingish_foo or __m_thingish_foo.
- rightbyte 5y agoYe true. Maybe I am just whining because the inlined chunks in e.g. callgrind or gdb looks so random. I should use "-Og" more often ...
- brandmeyer 5y agoGDB has a pluggable pretty-printing system. http://sourceware.org/gdb/wiki/STLSupport http://sourceware.org/gdb/wiki/STLSupport That doesn't necessarily help if you are backtracing from your own lambda up through some <algorithm>. But it does help many other use cases with the standard library.