Skip to main content
10 events
when toggle format what by license comment
Jul 19, 2019 at 9:45 comment added CinCout The OP might have dumbed it down. One can only guess!
Jul 19, 2019 at 9:42 comment added Stack Danny @CinCout I wonder, in order for this not to be an XY Problem the mvce should be about a general pair<T, U> instead of the specific pair<int, int>, right?
Jul 19, 2019 at 9:17 answer added Vlad from Moscow timeline score: 4
Jul 19, 2019 at 9:16 comment added n. m. could be an AI You look at your program. Is there initialisation somewhere? Then it is initialised. No initialisation? Not initialised. In your case, there is initialisation in the std::pair constructor. Since there is no such thing as empty pair, the check here is trivial.
Jul 19, 2019 at 9:13 history edited Always_Beginner CC BY-SA 4.0
added 202 characters in body
Jul 19, 2019 at 9:12 answer added lubgr timeline score: 8
Jul 19, 2019 at 9:11 comment added CinCout Looks like a XY problem
Jul 19, 2019 at 9:10 answer added Yksisarvinen timeline score: 9
Jul 19, 2019 at 9:10 answer added songyuanyao timeline score: 3
Jul 19, 2019 at 9:06 history asked Always_Beginner CC BY-SA 4.0