Home GnuPG
Diffusion GPGME 1bb162a54ba4

Cpp: Add string comparators for keys
1bb162a54ba4Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Cpp: Add string comparators for keys

* lang/cpp/src/global.h (GPGMEPP_MAKE_STRCMP): New.
  (_gpgmepp_strcmp): NULL save wrapper around std::strcmp.
* lang/cpp/src/key.h: Add comparators for various attributes.

This was taken from libkleo predicates.h. Appears generally useful.

Details

Provenance
aheineckeAuthored on Apr 11 2016, 5:02 PM
Parents
rM691950e18cf0: Cpp: Remove last usages of boost
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rM1bb162a54ba4: Cpp: Add string comparators for keys (authored by Andre Heinecke <aheinecke@intevation.de>).Apr 11 2016, 5:06 PM