Static Public Member Functions | List of all members
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.

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  }
static QCString name
Definition: declinfo.cpp:673
std::string string
Definition: nybbler.cc:12
p
Definition: test.py:223
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66

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