[Boost-bugs] [Boost C++ Libraries] #4300: at<AssocSeq, Key, Default> undefined

Subject: [Boost-bugs] [Boost C++ Libraries] #4300: at<AssocSeq, Key, Default> undefined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-05 13:02:44


#4300: at<AssocSeq,Key,Default> undefined
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: agurtovoy
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: mpl
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 the mpl::at overload for associative sequences is documented to be:

 template<
       typename AssocSeq
     , typename Key
     , typename Default = unspecified
>
 struct at


 but there is no 3-parameter-overload in mpl/at.hpp.

 so the following code:
 typedef mpl::map< mpl::pair<int,double> > mymap;
 typedef mpl::at<mymap,float,int>::type should_be_int;

 results in:
 'boost::mpl::at' : too many template arguments

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4300>
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:03 UTC