Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
fhiclcpp
fhiclcpp
types
detail
ostream_helpers.cc
Go to the documentation of this file.
1
#include "
fhiclcpp/types/detail/ostream_helpers.h
"
2
3
#include <regex>
4
#include <string>
5
6
namespace
{
7
std::regex
const
re_std_prefix{
"std::"
};
8
}
9
10
namespace
fhicl::detail::no_defaults
{
11
std::string
12
stripped_typename
(
std::string
const
& fullName)
13
{
14
// Remove 'std::' from fullName
15
return
std::regex_replace(fullName, re_std_prefix,
""
);
16
}
17
}
ostream_helpers.h
string
std::string string
Definition:
nybbler.cc:12
fhicl::detail::no_defaults::stripped_typename
std::string stripped_typename(std::string const &fullName)
Definition:
ostream_helpers.cc:12
fhicl::detail::no_defaults
Definition:
ostream_helpers.cc:10
Generated by
1.8.11