Files
CMake/Source
Alex Turbov 0c17cc9ef5 cmJSONHelpers.h: Add FilteredObject helper
Iterate over the object's members and call a filter callable to decide what
to do with the current key/value. A filter returns one of the `FilterResult`
values. A container type is an associative or a sequence container of pairs
(key, value).

Refactor `MapFilter()` and `Map()` to use `FilteredObject()`. Moreover,
for C++ >= 17 implementation is more optimized depending on the given filter
object type and capable of detecting and properly calling the filter callable
using 1 or 3 arguments, up to totally eliminate any checking (even dummy)
in the generated code.

Supported container types, used to append key/value items, aren't limited to
`std::map` only and can be any associative container or a sequenced one with
pairs of key/value as elements.
2024-08-26 19:01:48 +04:00
..
2024-08-21 08:54:14 -04:00
2024-08-15 09:35:37 -04:00
2024-07-29 13:14:41 -04:00
2024-07-30 10:27:03 -04:00
2024-07-30 10:27:03 -04:00
2024-08-26 09:48:40 -04:00
2024-08-26 00:03:54 -04:00
2024-08-02 00:14:57 +02:00
2024-03-08 09:49:03 -05:00
2024-08-13 11:01:13 -04:00
2024-07-03 11:15:45 -04:00
2024-08-19 15:10:34 -04:00
2024-07-29 10:45:02 -04:00
2024-03-17 19:05:37 -04:00
2024-02-09 08:58:46 -05:00