diff options
Diffstat (limited to 'libs/container/test/print_container.hpp')
-rw-r--r-- | libs/container/test/print_container.hpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libs/container/test/print_container.hpp b/libs/container/test/print_container.hpp index afc07f69a..2e49ec60e 100644 --- a/libs/container/test/print_container.hpp +++ b/libs/container/test/print_container.hpp @@ -12,33 +12,12 @@ #define BOOST_PRINTCONTAINER_HPP #include <boost/container/detail/config_begin.hpp> -#include <functional> #include <iostream> -#include <algorithm> namespace boost{ namespace container { namespace test{ -struct PrintValues -{ - typedef int argument_type; - typedef void result_type; - - void operator() (int value) const - { - std::cout << value << " "; - } -}; - -template<class Container> -void PrintContents(const Container &cont, const char *contName) -{ - std::cout<< "Printing contents of " << contName << std::endl; - std::for_each(cont.begin(), cont.end(), PrintValues()); - std::cout<< std::endl << std::endl; -} - //Function to dump data template<class MyBoostCont ,class MyStdCont> |