9 std::regex
const re_sequence_element{R
"(\[\d+\])"}; 18 <<
"Cannot insert empty name into 'NameStackRegistry'.\n";
22 if (names.empty() || std::regex_match(name, re_sequence_element)) {
23 names.emplace_back(name);
25 names.emplace_back(
"." + name);
27 return std::accumulate(names.begin(), names.end(), std::string{});
static NameStackRegistry & instance_()
static void end_of_ctor()
static std::string current()
T & slot_for_current_thread()
static std::string full_key(std::string const &key)
std::vector< std::string > names_
cet::coded_exception< error, detail::translate > exception