std::map<double, std::pair<int, int>> templates;
this is the variable I declared to hold temporary values while performing some operation.
if I declared this as
struct TemplateIndex
{
int i,
int j
};
std::map<double, TemplateIndex> templates;
would this increase compile time performance?, any advantages or disadvantages?