From f2c6519460703060039a65329c2209185d3ae43a Mon Sep 17 00:00:00 2001 From: Jonathan Turkanis Date: Thu, 4 Mar 2004 01:34:21 +0000 Subject: [PATCH] added sample implementation using alignment_of [SVN r2016] --- select_by_size_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/select_by_size_test.cpp b/select_by_size_test.cpp index 86301b3..9058875 100644 --- a/select_by_size_test.cpp +++ b/select_by_size_test.cpp @@ -9,7 +9,7 @@ #include #include -// Include "select_by_size.hpp" with BOOST_SELECT_BY_SIZE_CASES undefined. +// Include "select_by_size.hpp" with BOOST_SELECT_BY_SIZE_MAX_CASE undefined. #include using boost::utility::case_; @@ -26,7 +26,7 @@ struct test1 { }; // Include "select_by_size.hpp" a second time, defining more cases. -#define BOOST_SELECT_BY_SIZE_CASES 8 +#define BOOST_SELECT_BY_SIZE_MAX_CASE 7 #include case_<2> helper(unsigned);