AStyle built from git 2025-03-21 converts this
template <class S, class T, typename = std::enable_if_t<isStringLike<S>>> bool contains(const S& str, const T& term);
int test = 1;
into
template <class S, class T, typename = std::enable_if_t<isStringLike<S>>> bool contains(const S& str, const T& term);
int test = 1;
Note the unwanted spaces before the "int".
using
--style=allman
--suffix=none
--keep-one-line-blocks
--align-pointer=type
--min-conditional-indent=0
--max-continuation-indent=80
--indent-switches
--indent-col1-comments
--indent-preproc-block
--indent-preproc-define
--pad-header
--pad-comma
--formatted
--lineend=linux
--indent-preproc-block
--convert-tabs
--preserve-ws
I pushed a fix for this one (Java operators confusion)
Perfect, the issue has been fixed!