Go to the documentation of this file.
51 template<
class String>
54 public std::vector<std::sub_match<typename String::const_iterator>>
62 typename std::sub_match<typename String::const_iterator>;
82 for (
const auto& elem : *
this)
94 const typename String::const_iterator&
b,
95 const typename String::const_iterator&
e
101 range.matched =
true;
103 this->push_back(
range);
109 auto first() const -> decltype(this->front())
111 return this->front();
117 auto last() const -> decltype(this->back())
124 String
str(
size_t pos)
const
126 return (*
this)[
pos].str();
String str(size_t pos) const
Get element pos, converted to a string type.
std::string::size_type length() const
The total string length of all sub-elements.
typename std::sub_match< typename String::const_iterator > value_type
The element type.
auto last() const -> decltype(this->back())
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
SubStrings()=default
Default construct.
graph_traits< Graph >::vertices_size_type size_type
Vector< scalar > vector
A scalar version of the templated Vector.
auto first() const -> decltype(this->front())
void append(const typename String::const_iterator &b, const typename String::const_iterator &e)
Append sub-string defined by begin/end iterators.
const dimensionedScalar e
Elementary charge.
typename String::const_iterator string_iterator
The const_iterator for the underlying string type.
dimensionedScalar pos(const dimensionedScalar &ds)