Hi guys,
with version 3.6.9 I get incorrect results, when trying to align pointers and references to the type. Using --align-reference=type on
void fn( char& p )
{
}
gets me
void fn( char & p )
{
}
even though nothing should have changed. Same with the corresponding option for pointers. Seems like these options behave similar to using them with the middle parameter. Using the name option seems to work fine.
Another weird thing is happening with certain template declarations:
std::vector<std::pair<int, double>> v;
becomes
std::vector<std::pair<int, double >> v;
but I am not quite sure which options does trigger that.
Regards,
Stefan
I get this too in ver. 3.6.12. An
align-pointer=namehas no effect on e.g. this:I want
virtual void DoDataExchange (CDataExchange *pDX);but astyle does not make it so.