summaryrefslogtreecommitdiff
path: root/lib/gl_omap.hh
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* license: fix GPLv3 texts to use a comma instead of semicolon.Bernhard Voelker2022-01-051-1/+1
| | | | | | | | | See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* list-c++, [o]map-c++, [o]set-c++: Fix conflict with 'free-posix' module.Bruno Haible2020-12-301-0/+2
| | | | | | | | * lib/gl_list.hh: Include <stdlib.h>. * lib/gl_map.hh: Likewise. * lib/gl_omap.hh: Likewise. * lib/gl_set.hh: Likewise. * lib/gl_oset.hh: Likewise.
* oset-c++, omap-c++: Remove restriction for search_atleast method.Bruno Haible2020-08-021-2/+3
| | | | | | | * lib/gl_oset.hh (gl_OSet::search_atleast): Allow the threshold to be of a different type than the element. * lib/gl_omap.hh (gl_OMap::search_atleast): Allow the threshold to be of a different type than the key.
* list-c++, set-c++, oset-c++, map-c++, omap-c++: Don't fool the compiler.Bruno Haible2020-05-311-1/+11
| | | | | | | | | | | Reported by Akim Demaille in <https://lists.gnu.org/archive/html/bug-bison/2020-05/msg00102.html>. * lib/gl_list.hh (gl_List::iterator::next): Avoid a reinterpret_cast. * lib/gl_set.hh (gl_Set::iterator::next): Likewise. * lib/gl_oset.hh (gl_OSet::iterator::next): Likewise. * lib/gl_map.hh (gl_Map::iterator::next): Likewise. * lib/gl_omap.hh (gl_OMap::iterator::next): Likewise.
* omap-c++: New module.Bruno Haible2020-02-021-0/+182
* lib/gl_omap.hh: New file, based on lib/gl_omap.h. * modules/omap-c++: New file.