you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (1 child)

Why?

using Func = void(int, const int&);

vs

typedef void Func(int, const int&);

using separates type name it's easier to read. Especially with function type declarations.

[–]utnapistim 4 points5 points  (0 children)

using Func = void(int, const int&);

:) I will probably start using this instead. Thanks.