36 #ifndef AFF_VALMAP_H_VERSION 38 #define AFF_VALMAP_H_VERSION \ 58 template<
class T1,
class T2>
63 typedef std::map<Tinvalue,Toutvalue>
Tmap;
87 template<
template <
class>
class C,
class M>
88 C<typename M::mapped_type>
89 valmap(
const typename C<typename M::key_type>::Tcoc& c,
92 typedef typename M::key_type Tinvalue;
93 typedef typename M::mapped_type Toutvalue;
102 #endif // AFF_VALMAP_H_VERSION (includeguard) Root namespace of library.
C< typename F::Toutvalue > mapvalues(const typename C< typename F::Tinvalue >::Tcoc &c, const F &exfun)
C< typename M::mapped_type > valmap(const typename C< typename M::key_type >::Tcoc &c, const M &m)
Toutvalue operator()(Tinvalue v) const
map another value
std::map< Tinvalue, Toutvalue > Tmap
Mapvalmap(const Tmap &m)
initialize member data