Replies: 3 comments
-
Using Using |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
actually, passing |
Beta Was this translation helpful? Give feedback.
-
Issue Details
In the package for fast box intersections in the API we write
Callback callback
. Is it acceptable to turn that intoconst Callback& callback
? I would like to do that for performance reasons. I would also document it. This may imply changes on the users code. Even in the PMP package I have to make some data members of callbacks mutable, as theCallback::operator()(Box*,Box*)
must beconst
. Alternatvely, we could switch toCallback& callback
.Beta Was this translation helpful? Give feedback.
All reactions