44#ifndef PANZER_STLMAP_UTILITIES_HPP
45#define PANZER_STLMAP_UTILITIES_HPP
47#include "Teuchos_Assert.hpp"
53 template<
typename MapT>
54 const typename MapT::mapped_type &
55 getEntry(
const MapT& in_map,
const typename MapT::key_type& in_key) {
57 typename MapT::const_iterator it = in_map.find(in_key);
59 TEUCHOS_TEST_FOR_EXCEPTION(it == in_map.end(), std::runtime_error,
60 "Failed to find the key " << in_key <<
" in the map."
const MapT::mapped_type & getEntry(const MapT &in_map, const typename MapT::key_type &in_key)