Function lbcrypto::operator==(const std::shared_ptr<EncodingParamsImpl>&, const std::shared_ptr<EncodingParamsImpl>&)
Defined in File encodingparams.h
Function Documentation
-
inline bool lbcrypto::operator==(const std::shared_ptr<EncodingParamsImpl> &o1, const std::shared_ptr<EncodingParamsImpl> &o2)
Equality operator for shared pointers to encoding parameters: two null pointers are equal, a null and a non-null pointer are not, and two non-null pointers compare the parameters they point to.
- Parameters
o1 – the first encoding parameters
o2 – the second encoding parameters
- Returns
true if both are null or both point to equal parameters