LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::detail::CanBeAggregated< std::string > Struct Template Reference

#include "aggregate.h"

Inheritance diagram for art::detail::CanBeAggregated< std::string >:

Static Public Member Functions

static void aggregate (std::string &p, std::string const &other)
 

Detailed Description

template<>
struct art::detail::CanBeAggregated< std::string >

Definition at line 209 of file aggregate.h.

Member Function Documentation

static void art::detail::CanBeAggregated< std::string >::aggregate ( std::string &  p,
std::string const &  other 
)
inlinestatic

Definition at line 211 of file aggregate.h.

References art::errors::ProductCannotBeAggregated.

212  {
213  if (p != other)
215  << "Products of type \""
216  << cet::demangle_symbol(typeid(std::string).name())
217  << "\" cannot be aggregated unless their values are the same.\n"
218  << "Values presented were: \"" << p << "\" and \"" << other
219  << "\".\n";
220  }
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66

The documentation for this struct was generated from the following file: