X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fstring_map.tpp;fp=src%2Fstlplus%2Fstrings%2Fstring_map.tpp;h=0000000000000000000000000000000000000000;hp=ce7d2f0369eaea572e2c96893f1c6729bd73e86e;hb=574af38ed616d1adfa5e6ce35f67cda1f707f89d;hpb=6c9943707d4f33035830eba0587a61a34eaecbc2 diff --git a/src/stlplus/strings/string_map.tpp b/src/stlplus/strings/string_map.tpp deleted file mode 100644 index ce7d2f0..0000000 --- a/src/stlplus/strings/string_map.tpp +++ /dev/null @@ -1,45 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -//////////////////////////////////////////////////////////////////////////////// -#include "string_sequence.hpp" - -namespace stlplus -{ - - //////////////////////////////////////////////////////////////////////////////// - // map - - template - std::string map_to_string(const std::map& values, - SK key_to_string_fn, - ST value_to_string_fn, - const std::string& pair_separator, - const std::string& separator) - { - return pair_sequence_to_string(values.begin(), values.end(), - key_to_string_fn, value_to_string_fn, - pair_separator, separator); - } - - //////////////////////////////////////////////////////////////////////////////// - // multimap - - template - std::string multimap_to_string(const std::multimap& values, - SK key_to_string_fn, - ST value_to_string_fn, - const std::string& pair_separator, - const std::string& separator) - { - return pair_sequence_to_string(values.begin(), values.end(), - key_to_string_fn, value_to_string_fn, - pair_separator, separator); - } - - //////////////////////////////////////////////////////////////////////////////// -} // end namespace stlplus