#ifndef STLPLUS_PRINT_MAP #define STLPLUS_PRINT_MAP //////////////////////////////////////////////////////////////////////////////// // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 // (c) Andy Rushton 2004-2009 // License: BSD License, see ../docs/license.html // Generate a string representation of a map/multimap //////////////////////////////////////////////////////////////////////////////// #include "strings_fixes.hpp" #include #include #include namespace stlplus { template void print_map(std::ostream& device, const std::map& values, SK key_print_fn, ST value_print_fn, const std::string& pair_separator = ":", const std::string& separator = ","); template void print_multimap(std::ostream& device, const std::multimap& values, SK key_print_fn, ST value_print_fn, const std::string& pair_separator = ":", const std::string& separator = ","); } // end namespace stlplus #include "print_map.tpp" #endif