From 07c7c4c0bdf18622601c97948436bc70122a12f7 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sat, 16 Jan 2010 04:22:21 +0000 Subject: [PATCH] print size with ordering --- cpp/Ordering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/Ordering.cpp b/cpp/Ordering.cpp index 9f3a14fa0..2a0cae1b7 100644 --- a/cpp/Ordering.cpp +++ b/cpp/Ordering.cpp @@ -30,7 +30,7 @@ Ordering Ordering::subtract(const Ordering& keys) const { /* ************************************************************************* */ void Ordering::print(const string& s) const { - cout << s; + cout << s << " (" << size() << "):"; BOOST_FOREACH(string key, *this) cout << " " << key; cout << endl;