11 #ifndef PANZER_STLMAP_UTILITIES_HPP
12 #define PANZER_STLMAP_UTILITIES_HPP
14 #include "Teuchos_Assert.hpp"
20 template<
typename MapT>
21 const typename MapT::mapped_type &
22 getEntry(
const MapT& in_map,
const typename MapT::key_type& in_key) {
24 typename MapT::const_iterator it = in_map.find(in_key);
27 "Failed to find the key " << in_key <<
" in the map."
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
const MapT::mapped_type & getEntry(const MapT &in_map, const typename MapT::key_type &in_key)