LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ostream_helpers.cc
Go to the documentation of this file.
1 
2 #include "cetlib_except/demangle.h"
3 
4 #include <ostream>
5 #include <regex>
6 #include <string>
7 
8 namespace fhicl {
9  namespace detail {
10  namespace no_defaults {
11 
12  std::string
13  stripped_typename(std::string const& fullName)
14  {
15  // Remove 'std::' from fullName
16  std::string const strippedName =
17  std::regex_replace(fullName, std::regex("std::"), "");
18  return strippedName;
19  }
20  }
21  }
22 } // fhicl::detail::no_defaults
23 
24 // Local variables:
25 // mode : c++
26 // End:
std::string stripped_typename(std::string const &fullName)
parameter set interface