equal
deleted
inserted
replaced
191 return e; |
191 return e; |
192 } |
192 } |
193 |
193 |
194 /// \brief Copy a map. |
194 /// \brief Copy a map. |
195 /// |
195 /// |
196 /// Thsi function copies the \c source map to the \c target map. It uses the |
196 /// This function copies the \c source map to the \c target map. It uses the |
197 /// given iterator to iterate on the data structure and it uses the \c ref |
197 /// given iterator to iterate on the data structure and it uses the \c ref |
198 /// mapping to convert the source's keys to the target's keys. |
198 /// mapping to convert the source's keys to the target's keys. |
199 template <typename Target, typename Source, |
199 template <typename Target, typename Source, |
200 typename ItemIt, typename Ref> |
200 typename ItemIt, typename Ref> |
201 void copyMap(Target& target, const Source& source, |
201 void copyMap(Target& target, const Source& source, |