--Just write and use a find wrapper like these:It was just an example.If we start considering solving it via wrappers/helpers, then I would just create something like findOr(key, value) function.But, anyway, it seems that the idea is not worth it...Thanks for the feedback.--DmitrySent from gmail
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals