]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/string_hash.tpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / strings / string_hash.tpp
1 ////////////////////////////////////////////////////////////////////////////////
2
3 // Author: Andy Rushton
4 // Copyright: (c) Southampton University 1999-2004
5 // (c) Andy Rushton 2004-2009
6 // License: BSD License, see ../docs/license.html
7
8 ////////////////////////////////////////////////////////////////////////////////
9 #include "string_sequence.hpp"
10
11 namespace stlplus
12 {
13
14 template<typename K, typename T, typename H, typename E, typename KS, typename TS>
15 std::string hash_to_string(const hash<K,T,H,E>& values,
16 KS key_to_string_fn,
17 TS value_to_string_fn,
18 const std::string& pair_separator,
19 const std::string& separator)
20 {
21 return pair_sequence_to_string(values.begin(), values.end(),
22 key_to_string_fn, value_to_string_fn,
23 pair_separator, separator);
24 }
25
26 } // end namespace stlplus
27
This page took 0.028825 seconds and 4 git commands to generate.