|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65878 - sandbox/variadic_templates/boost/composite_storage/utility
From: cppljevans_at_[hidden]
Date: 2010-10-10 12:27:24
Author: cppljevans
Date: 2010-10-10 12:27:20 EDT (Sun, 10 Oct 2010)
New Revision: 65878
URL: http://svn.boost.org/trac/boost/changeset/65878
Log:
make the other wcols depend on other tcols
Text files modified:
sandbox/variadic_templates/boost/composite_storage/utility/show_layout_all_of_aligned.hpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Modified: sandbox/variadic_templates/boost/composite_storage/utility/show_layout_all_of_aligned.hpp
==============================================================================
--- sandbox/variadic_templates/boost/composite_storage/utility/show_layout_all_of_aligned.hpp (original)
+++ sandbox/variadic_templates/boost/composite_storage/utility/show_layout_all_of_aligned.hpp 2010-10-10 12:27:20 EDT (Sun, 10 Oct 2010)
@@ -161,11 +161,9 @@
};
return titles[icol];
}
- static unsigned our_wcols(unsigned icols)
+ static unsigned our_wcols(unsigned icol)
{
- static unsigned const widths[ncols]=
- { 3, 4, 5, 3, 7, 6};
- return widths[icols];
+ return std::strlen(our_tcols(icol));
}
int
my_count
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk