|
a/src/utils/smallut.cpp |
|
b/src/utils/smallut.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: smallut.cpp,v 1.33 2008-09-15 08:02:03 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: smallut.cpp,v 1.34 2008-10-08 16:15:22 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
301 |
stringsToString<list<string> >(tokens, s);
|
301 |
stringsToString<list<string> >(tokens, s);
|
302 |
}
|
302 |
}
|
303 |
void stringsToString(const vector<string> &tokens, string &s)
|
303 |
void stringsToString(const vector<string> &tokens, string &s)
|
304 |
{
|
304 |
{
|
305 |
stringsToString<vector<string> >(tokens, s);
|
305 |
stringsToString<vector<string> >(tokens, s);
|
|
|
306 |
}
|
|
|
307 |
void stringsToString(const set<string> &tokens, string &s)
|
|
|
308 |
{
|
|
|
309 |
stringsToString<set<string> >(tokens, s);
|
306 |
}
|
310 |
}
|
307 |
|
311 |
|
308 |
void stringToTokens(const string& str, list<string>& tokens,
|
312 |
void stringToTokens(const string& str, list<string>& tokens,
|
309 |
const string& delims, bool skipinit)
|
313 |
const string& delims, bool skipinit)
|
310 |
{
|
314 |
{
|