- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
class Params
{
std::map<std::string, std::string> db;
public:
const_iterator find (const std::string &name) const
{
for (auto i = db.begin(); i != db.end(); ++i) {
if (i->first == name) {
const_iterator p(i);
return p;
}
}
return db.end();
}
};