You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was surprised to see that functions like BatchEncoder::encode/decode or Evaluator::add aren't declared const. Do some of them actually modify the Encoder/Evaluator object?
If not, I'd be happy to submit a PR where they are all set as const, since the lack of const-ness makes it a bit of a pain to write "nice" code against SEAL that needs to create new ctxts/ptxts.
The text was updated successfully, but these errors were encountered:
AlexanderViand
changed the title
Why are functions like BatchEncoder::encode or Encrytor::encrypt not const?
Why are functions like BatchEncoder::encode not const?
May 11, 2021
AlexanderViand
changed the title
Why are functions like BatchEncoder::encode not const?
Why are functions like BatchEncoder::encode or Evaluator::add not const?
May 11, 2021
I was surprised to see that functions like
BatchEncoder::encode/decode
orEvaluator::add
aren't declared const. Do some of them actually modify theEncoder
/Evaluator
object?If not, I'd be happy to submit a PR where they are all set as const, since the lack of const-ness makes it a bit of a pain to write "nice" code against SEAL that needs to create new ctxts/ptxts.
The text was updated successfully, but these errors were encountered: