Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 constexpr in if statement breaks VA Outline
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mkoe
Junior Member

13 Posts

Posted - Jan 12 2021 :  2:50:32 PM  Show Profile  Reply with Quote
The following code leads to a misaligned VA Outline:

struct Class
{
	void Method1()
	{
		if constexpr (true)
		{
		}
	}

	void Method2();
	void Method3();
};




Without "constexpr":




feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jan 13 2021 :  09:15:58 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=144299

So far, in my tests here, the problem is limited to VA Outline and the Alt-M list. Are you seeing constexpr calls causing any other problems for VA?

zen is the art of being at one with the two'ness
Go to Top of Page

mkoe
Junior Member

13 Posts

Posted - Jan 13 2021 :  12:18:19 PM  Show Profile  Reply with Quote
Thank you. So far I haven't noticed any other problems with constexpr.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000