Hello,
I'm using std::make_pair, to fill a std::pair. I only get some error and I can't find out why.
error C2678: binary '=' : no operator found which takes a left-hand operand of type 'const std::pair<_Ty1,_Ty2>' (or there is no acceptable conversion)Code:std::pair <LONG,LONG> ControlSize;
ControlSize = std::make_pair(rc.right - rc.left,rc.bottom - rc.top);
Grz

