Yes, I suppose that's true! Did I mention how old some of this code is? :-)
This might be a good case for clang-tidy (if it doesn't already exist).
Right now it recommends "using".
Even doing that I get something a little off - two indents instead of one:
I assume this has to do with the setting for public/private indentation,
though I would expect if those keywords aren't present it wouldn't add the
Andy Maloney // https://asmaloney.com
Post by André Pönitz
Post by Andy
typedef int foo;
using foo = int;
When I try it with structs though the formatting gets all messed up in
using FooInfo = struct
Given that this is C++, not C, the canonical way to write this would be
i.e. neither typedef nor using.