-
-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Given this code:
#include <utility>
static int s1;
static int s2;
std::pair<int const&, int const&> fun() { return std::make_pair(s1, s2);
}The output is
#include <utility>
static int s1;
static int s2;
std::pair<const int &, const int &> fun()
{
return std::pair<const int &, const int &>(std::make_pair(s1, s2));
}But I expected to see:
#include <utility>
static int s1;
static int s2;
std::pair<const int &, const int &> fun()
{
return std::pair<const int &, const int &>(std::make_pair<int, int>(s1, s2));
}Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working