cancel
Showing results for 
Search instead for 
Did you mean: 

How do i get C++ formatter to work correct, problems with typeid()

M.Holch
Associate II

This code (very short non compiling i know)

void main()
{
	int f;
	for (auto i : array[typeid(f)])
	{
	}
}

If i try and format it, when typeid is presented to a know type it formats like this:

void main()
{
	int f;
	for (auto i : array[typeid(f)])
			{
			}
		}

makes NO sence.. online formatters does not..

/M

1 REPLY 1
M.Holch
Associate II

if anyone can confirm there is a issue, i'll bring it to eclipse 🙂