Functions in Types?

Previous topic - Next topic

Kitty Hello

Oh dear!! The function body is generated in another file (the global definition file), whereas the first inline block goes in the 1st file cpp.
In this case, you can either work with IMPORT or with a function wrapper.

hardyx

Thanks Gernot, functions in types is the best update for me. This way you can organize the code better and keep all the functions that treat a type in a place. Developers can use this or not, but If you think in objects or types is very useful.

MrTAToad

Indeed - they are useful.  All that is needed now is the ability (like normal types) to define one extended type  and use it in another - its needed so that they dont all have to be put in one file.