Opened 10 years ago

Closed 10 years ago

#726 closed request (fixed)

inverse function creating map<T, size_t>

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.10
Component: utility Version:
Keywords: Cc:

Description

There are two inverse functions in stl_utility. One creates std::multimap<T, size_t> and the other creates std::map<T, std::vector<size_t> >. Often I know that elements are identical I I want a map<T, size>. The inverse function could perhaps throw if elements are not unique or just leave the behaviour undefined.

Change History (1)

comment:1 Changed 10 years ago by Peter

Resolution: fixed
Status: newclosed

(In [2857]) closes #726

Note: See TracTickets for help on using tickets.