-
-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I just had the following code:
#include <string>
#include <vector>
int main()
{
using namespace std::string_literals;
std::vector<std::string> foo{"foo"s, "bar"s};
}
...and cppinsights gave me the following output:
#include <string>
#include <vector>
int main()
{
using namespace std::string_literals;
std::vector<std::string> foo{ std::initializer_list<std::basic_string<char> >{ std::operator""s("foo", 3ul), std::operator""s(std::operator""s("foo", 3ul) 3std::operator""s("bar", 3ul)};
}
Note especially the 3std.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working