Re: [Boost-bugs] [Boost C++ Libraries] #9223: Alllow find(key) with key's type different from the contained value type.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9223: Alllow find(key) with key's type different from the contained value type.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-13 19:07:10


#9223: Alllow find(key) with key's type different from the contained value type.
-------------------------------+------------------------
  Reporter: mjklaim@… | Owner: igaztanaga
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by igaztanaga):

 C++14 will include new find functions for associative containers:

 template <class K> iterator find(const K& x);
 template <class K> const_iterator find(const K& x) const;

 "returns an iterator pointing to an element with key r such that !c(r, ke)
 && !c(ke, r), or a_tran.end() if such an element is not found"

 The original proposal was: http://www.open-
 std.org/jtc1/sc22/wg21/docs/papers/2013/n3657.htm

 In the future, Boost.Container will try to implement C++14 features so
 I'll left this issue open until this feature is implemented.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9223#comment:2>
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:14 UTC