Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add const qualifier to Evaluator and BatchEncoder functions #334

Merged
merged 1 commit into from May 11, 2021

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.

None yet

2 participants