#Lambda OOP

9 messages · Page 1 of 1 (latest)

vale fulcrumBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

wise horizon
#

If I'm understanding you correctly, you can't do that

#

In C++ we have static typing

#

You could store a lambda in a class with an std::function but that must have a fixed set of arguments and return types

#

Likely you should rethink what you're trying to do

vale fulcrumBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity

vale fulcrumBOT
#

@novel egret

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.