35 #ifndef TTA_ASSOC_TOOLS_HH
36 #define TTA_ASSOC_TOOLS_HH
45 template <
typename ContainerType>
48 template <
typename ContainerType>
51 template <
typename ContainerType,
typename KeyType>
53 const ContainerType& aContainer,
56 template <
typename ContainerType>
58 const ContainerType& firstContainer,
59 const ContainerType& secondContainer,
62 template <
typename ContainerType1,
typename ContainerType2>
63 static std::set<std::pair<
64 typename ContainerType1::value_type,
65 typename ContainerType2::value_type> >
pairs(
66 ContainerType1& firstContainer,
67 ContainerType2& secondContainer);
69 template <
typename Comparator,
typename ContainerType1,
70 typename ContainerType2>
71 static std::set<std::pair<
72 typename ContainerType1::value_type,
73 typename ContainerType2::value_type>, Comparator >
pairs(
74 ContainerType1& firstContainer,
75 ContainerType2& secondContainer);
77 template <
typename ContainerType>
78 static void append(
const ContainerType& src, ContainerType &dest);