-
-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I used cpp-insights 18.1
https://cppinsights.io/s/ced8e01c
Tested code:
#include <cstdio>
#include <vector>
#include <cassert>
static_assert(([] {
std::vector<int> v(5);
assert(v.size() == 5);
assert(v.capacity() >= 3);
}(), true));
int main()
{
printf("Hallo!!!!!");
return 0;
}
Resulted insights code without the ';' after printf(), e.g.:
...
int main()
{
printf("Hallo!!!!!")return 0;
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working