Date: Sun, 2 Feb 2025 23:11:28 +0100
On 02/02/2025 20:50, Frederick Virchanza Gotham via Std-Proposals wrote:
> A few days ago here on the mailing list, a person posted that some
> programmers are avoiding doing:
>
> typedef vector<int> IntVec;
>
> and instead are doing:
>
> class IntVec : public vector<int> {
> . . .
> };
>
> simply because the former gets mangled to something horrible, and the
> latter gets mangled to something that is easy to spot in the debugger.
This sounds like a tooling problem. How about asking your debugger
vendor to add a feature that simplifies such names? Obviously
configurable, std::vector isn't special.
My 2 c,
--
Giuseppe D'Angelo
> A few days ago here on the mailing list, a person posted that some
> programmers are avoiding doing:
>
> typedef vector<int> IntVec;
>
> and instead are doing:
>
> class IntVec : public vector<int> {
> . . .
> };
>
> simply because the former gets mangled to something horrible, and the
> latter gets mangled to something that is easy to spot in the debugger.
This sounds like a tooling problem. How about asking your debugger
vendor to add a feature that simplifies such names? Obviously
configurable, std::vector isn't special.
My 2 c,
--
Giuseppe D'Angelo
Received on 2025-02-02 22:11:35