• Kenton Varda's avatar
    Support findOrCreate() (with only a single lookup). · 9b20a942
    Kenton Varda authored
    This is a very common pattern in practice -- and annoyingly difficult with STL maps.
    
    This required some refactoring so than index.insert() could be called before the row was actually constructed, based on the search parameters.
    
    It also required some awful hacks to support putting the creation function at the end of the argument list to findOrCreate(), with a variable-width arg list before it.
    9b20a942
Name
Last commit
Last update
..
cmake Loading commit data...
ekam-provider Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
samples Loading commit data...
src Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE.txt Loading commit data...
Makefile.am Loading commit data...
Makefile.ekam Loading commit data...
README.txt Loading commit data...
afl-fuzz.sh Loading commit data...
configure.ac Loading commit data...
regenerate-bootstraps.sh Loading commit data...
setup-autotools.sh Loading commit data...
setup-ekam.sh Loading commit data...