1 #ifndef art_Framework_Art_detail_PrintFormatting_h 2 #define art_Framework_Art_detail_PrintFormatting_h 39 template <
typename T,
typename Elem>
45 std::size_t
s{header.
size()};
47 coll, [&
s, cp](
auto const& elem) {
s =
std::max(
s, (elem.*cp).
size()); });
56 std::size_t
s{header.
size()};
58 coll, [&
s, fp](
auto const& li) {
s =
std::max(
s, (li.*fp)().
size()); });
65 using Widths = std::vector<std::size_t>;
71 for (std::size_t
const w : widths)
74 (widths.size() - 1) * 4u;
std::vector< std::size_t > Widths
std::size_t columnWidth(T const &coll, std::string const Elem::*cp, std::string const &header)
std::size_t rule_size(Widths const &widths)
std::string indent(std::size_t const i)
static int max(int a, int b)
auto for_all(FwdCont &, Func)
std::multiset< LibraryInfo > LibraryInfoCollection