In Delphi there are exists class helpers which can add methods for some given class.
Is there any design pattern in C++ which can do the same?
In Delphi there are exists class helpers which can add methods for some given class.
Is there any design pattern in C++ which can do the same?
Copyright © 2021 Jogjafile Inc.
In .net you have extension methods which are similar. In Python you can use monkey patching which is similar. In standard C++ there is nothing similar to Delphi class helpers.