Allan Odgaard
8e8a647e25
Add algorithm to erase descendent keys form a std::map
...
This can be used when the key is name spaced, e.g. `/foo/bar` or `foo.bar`. Here we can erase everything under foo by using `/foo/` or `foo.` respectively.
2016-06-02 21:07:43 +02:00
Allan Odgaard
0c99cb0699
Remove unused helper function
2014-12-25 09:32:23 +01:00
Allan Odgaard
58cfa20a1b
Add operator<< for std::map
...
This is to allow chaining inserts and to avoid temporary variables when inserting maps returned from functions.
2013-05-12 11:09:16 +07:00
Allan Odgaard
701c9a0541
Use ‘std’ namespace prefix when calling search()
...
This is to avoid a clash with other things named ‘search’.
2012-12-28 02:47:19 +01:00
Allan Odgaard
9894969e67
Initial commit
2012-08-09 16:25:56 +02:00