Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
cetlib
cetlib
column_width.cc
Go to the documentation of this file.
1
#include "
cetlib/column_width.h
"
2
3
#include <algorithm>
4
5
std::string::size_type
6
cet::column_width
(std::vector<std::string>
const
& v)
7
{
8
if
(v.empty())
9
return
0ull;
10
11
auto
max_elem =
12
std::max_element(v.begin(), v.end(), [](
auto
const
&
a
,
auto
const
&
b
) {
13
return
a
.size() <
b
.size();
14
});
15
return
max_elem->size();
16
}
cet::column_width
std::string::size_type column_width(std::vector< std::string > const &)
Definition:
column_width.cc:6
a
const double a
Definition:
gUpMuFluxGen.cxx:164
column_width.h
b
static bool * b
Definition:
config.cpp:1043
Generated by
1.8.11