1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 14:53:16 +02:00

Templatise tokenizeString()

This commit is contained in:
Eelco Dolstra 2012-09-19 15:43:23 -04:00
parent 00092b2d35
commit 76e88871b2
10 changed files with 30 additions and 39 deletions

View file

@ -286,7 +286,7 @@ MakeError(Interrupted, BaseError)
/* String tokenizer. */
Strings tokenizeString(const string & s, const string & separators = " \t\n\r");
template<class C> C tokenizeString(const string & s, const string & separators = " \t\n\r");
/* Concatenate the given strings with a separator between the