6 #ifndef MISC_ENDOMAP_HXX
7 # define MISC_ENDOMAP_HXX
16 :
map<T, T>(), strictness_(nonstrict)
37 if (ires != this->map_.end())
39 else if (this->strictness_ == nonstrict)
41 std::ostringstream err;
42 err <<
"map: no mapping for " << t;
43 throw std::range_error(err.str());
53 if (i == this->map_.end() || this->map_.key_comp()(t, i->first))
54 i = this->map_.emplace(t, t).first;
60 #endif // !MISC_ENDOMAP_HXX