use std::bind instead of passing void pointers around

This commit is contained in:
Andrzej Rybczak
2012-08-30 07:52:39 +02:00
parent 798c9b3121
commit 7297b8a9ad
21 changed files with 187 additions and 218 deletions

View File

@@ -28,7 +28,7 @@
void ParseArgv(int, char **);
std::string StringPairToString(const std::pair<std::string, std::string> &pair, void *);
std::string StringPairToString(const std::pair<std::string, std::string> &pair);
template <typename T> struct StringConverter {
const char *operator()(const char *s) { return s; }