[Boost-bugs] [Boost C++ Libraries] #6336: return type of flat_map::emplace is not match to documents

Subject: [Boost-bugs] [Boost C++ Libraries] #6336: return type of flat_map::emplace is not match to documents
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-30 15:20:22


#6336: return type of flat_map::emplace is not match to documents
----------------------------------------------+-----------------------------
 Reporter: Kohei Takahashi <flast@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
----------------------------------------------+-----------------------------
 The document says, return type of flat_map.emplace is pair that contains
 iterator and bool. However actual type is iterator.

 e.g.
 Boost.Unordered and standard library of emplace return pair.
 container::map::emplace returns iterator (map's doc is match to impl).

 Which is correct?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6336>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC