Jump to content

Use inline functions?


Guest ilija

Recommended Posts

For inline functions have one problem related to C/C++ way work with includes...

For make possible inline function used not in single .cpp file need place code of function into .h file.

This required all used in code types has been complete defined, so required additional #includes to related .h files

Last fast increase chance get cyclic .h file dependences: file1.h -> file2.h -> ... -> file1.h

So some good for inline functions in result can't be made inline just in result horrible module system used in C/C++

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use