Skip to content

add const qualifier to Evaluator and BatchEncoder functions#334

Merged
WeiDaiWD merged 1 commit intomicrosoft:contribfrom
AlexanderViand:main
May 11, 2021
Merged

add const qualifier to Evaluator and BatchEncoder functions#334
WeiDaiWD merged 1 commit intomicrosoft:contribfrom
AlexanderViand:main

Conversation

@AlexanderViand
Copy link
Contributor

Addressing #333

This adds const qualifiers to functions like BatchEncoder::encode or Evaluator::add that modify their operands but not the actual Encoder/Evaluator object.

This helps quite a bit with writing "neat" code against SEAL (less for individual applications, more for frameworks and compilers)

@ghost
Copy link

ghost commented May 11, 2021

CLA assistant check
All CLA requirements met.

@WeiDaiWD
Copy link
Contributor

Thanks for catching them, Alex! We might have missed these methods when we changed their definitions previously.

@WeiDaiWD WeiDaiWD merged commit 6b129dd into microsoft:contrib May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants