8 #include "cetlib_except/exception.h" 25 Int(
int i = 0) : i(i) {}
71 ensure(22, e.category() ==
"cet::registry_via_id");
73 ensure(23, s.find(
"not found in registry") != std::string::npos);
82 std::vector<reg::mapped_type> v{64, 81, 100};
bool operator==(int other) const
std::map< K const, V > collection_type
static collection_type const & get() noexcept
void ensure(int which, bool claim)
static detail::must_have_id< K, V >::type put(V const &value)
cet::registry_via_id< success_t, val > reg
cet::coded_exception< error, detail::translate > exception