Opened 12 years ago
Closed 12 years ago
#4300 closed Bugs (duplicate)
at<AssocSeq,Key,Default> undefined
Reported by: | anonymous | Owned by: | Aleksey Gurtovoy |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | mpl |
Version: | Boost 1.41.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
Note:
See TracTickets
for help on using tickets.
Duplicates #3982.