15 #ifndef ARSENALGEAR_CONTAINERS_HPP
16 #define ARSENALGEAR_CONTAINERS_HPP
41 template <
typename TK,
typename TV>
44 std::vector<TK> retval;
47 for (
auto const& element : input_map ) retval.push_back( element.first );
61 template <
typename TK,
typename TV>
64 std::vector<TV> retval;
67 for (
auto const& element : input_map ) retval.push_back( element.second );
Definition: stream.cpp:22
std::vector< TV > extract_map_elem(std::map< TK, TV > const &input_map)
Function used to extract a vector of elements from a map.
Definition: containers.hpp:62
std::vector< TK > extract_map_keys(std::map< TK, TV > const &input_map)
Function used to extract a vector of keys from a map.
Definition: containers.hpp:42