On Tue, 20 Sep 2016, Martin Sebor wrote: > That said, since this specifier formats a vec<int>, it seems that > it might be useful to be able to format vectors of other elements, > such as short and long. With that in mind, would adding a new V > length modifier instead be a more regular way to extend the pretty > printer to these types? The V length modifier would have to be > accepted in conjunction with other length modifiers (h, l, etc > and type specifiers (d, i, o, etc.). E.g, "%hVu" would accept
That's much harder to support in format checking (which expects one length modifier, not a combination like that). -- Joseph S. Myers jos...@codesourcery.com