GPGMEPP and C++ antipatterns
Robert J. Hansen
rjh at sixdemonbag.org
Thu Nov 6 22:00:52 CET 2025
> auto ctx = unique_ptr<Context>(OpenPGP);
Gah! I was literally looking at my code while copying it and still
somehow managed to goof it.
"auto ctx = unique_ptr<Context>(Context::createForProtocol(OpenPGP));"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20251106/14934410/attachment.sig>
More information about the Gnupg-users
mailing list