Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Code Inspection Bug

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
pwc Posted - Dec 27 2017 : 11:38:42 AM
Hello,

CI gets tripped up on:

std::vector<int> v;
if(v.size() % 3)
{ }

Says you should use empty() instead of size() to check emptiness - but we aren't checking for empty here.

This is with build 2248, VS2017 15.5.

Thanks.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Dec 27 2017 : 4:25:57 PM
I am seeing the same effect here. I've added your testcase to

case=112036

Thank you for the feedback we appreciate it.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000