r/cpp • • May 20 '26

C++26: More function wrappers

https://www.sandordargo.com/blog/2026/05/20/cpp26-copyable-function
118 Upvotes

37 comments sorted by

View all comments

Show parent comment

9

u/foonathan May 20 '26

Yes, you cannot call a const copy able function unless you put a const in the signature.