------- Comment #14 from redi at gcc dot gnu dot org  2010-04-19 15:37 -------
(In reply to comment #13)
> Well it's about time someone put a stop to it ;-)

Seriously though, it's quicker to write e.g.
  return std::pair<uint32_t, uint32_t>(x, y) 
than
  return std::make_pair<uint32_t, uint32_t>(x, y);

I can't see why anyone would use the latter if they know both the arguments in
advance.  There is a valid use case for make_pair<uint32_t>(x, y), which
suppresses deduction for the first argument but not the second.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43785

Reply via email to