variadic_table
variadic_table copied to clipboard
Formatted Table For Printing To Console
I had an issue with multi byte character (éèêë ÉÈÊË àâ ÀÂ Çç). I fix it by replacing the line l.266 in prettyPrinter.hpp Before: ``` return data.size(); ``` Fix: ```...
Fixes #9 .
right now it the column-width calculation breaks when multi-byte chars are used: ``` ———————————————————————————————————————————————————————————————————————————————————————— | Section | Self | Children | Total | ———————————————————————————————————————————————————————————————————————————————————————— | 根目录 | 4.525e-03 | 0.052...
Added Corners to the table in the form of a "+". Aesthetically I think it looks much better. Example: ``` +----------------------------------------------+ | Name | Weight | Age | Brother |...
I'd like to highlight some `std::string` cells in the VariadicTable with colors. For the lines I want to highlight, I'm doing ``` COLOR_YELLOW
Consider the following: ```c++ #include VariadicTable t({"x"}); t.addRow(INT64_MIN); ``` this throws a bad_alloc because the logic to determine size of the column does a std::log10(-x) which obviously overflows( -INT64_MIN =...
This change add new method print_latex which print table in latex code style a.k.a ```tex \begin{tabular}{|c|c|} \hline header1 & header2 \\ \hline some 1 & some 2 \\ \hline \end{tabular}...