In various places in p11-kit, the parameter name "template" is used. However, "template" is a reserved keyword in C++. When including headers that contain such function signatures in a C++ project, the compilation will fail due to the reserved meaning of the name "template". One example is the iter.h header with the functions p11_kit_iter_get_attributes and p11_kit_iter_load_attributes.
In various places in p11-kit, the parameter name "template" is used. However, "template" is a reserved keyword in C++. When including headers that contain such function signatures in a C++ project, the compilation will fail due to the reserved meaning of the name "template". One example is the iter.h header with the functions
p11_kit_iter_get_attributes
andp11_kit_iter_load_attributes
.