This is a follow-up to Kerrek SB etc's previous question on pretty-printing STL containers Pretty-print C++ STL containers , for which Kerrek etc managed to develop a very elegant and fully general solution, and its sequel, Pretty-print std::tuple , where std::tuple<Args...>
is handled.
I wonder, if it's possible, to inlucde in the solution about indent?
For example, if I have a vector of vector of vector of string, I'd like to see something like:
{ // vector of vector of vector of string
{ // vector of vector of string
{ hello, world };// vector of string
{ The, quick, brown, fox, jumps, over, the, lazy, dog };
...
{ Now, is, the, time, for, all, good, men, to, come, to, the, aid, of, the, party}
};
{ // vector of vector of string
{ hello, world };// vector of string
{ The, quick, brown, fox, jumps, over, the, lazy, dog };
...
{ Now, is, the, time, for, all, good, men, to, come, to, the, aid, of, the, party}
};
...
{ // vector of vector of string
{ hello, world };// vector of string
{ The, quick, brown, fox, jumps, over, the, lazy, dog };
...
{ Now, is, the, time, for, all, good, men, to, come, to, the, aid, of, the, party}
};
}
How would that be done nicely?