Why do I have to use FORCEINLINE instead of inline?
If I will user inline instead it will cause some problems?
Hi Darkstorm1997,
Why do I have to use FORCEINLINE instead of inline?
These specifiers have different meaning.
Inline: it is recommendation to compiler.
FORCEINLINE(macros, msvc:__forceinline): it is non-standard keyword that overrides compiler’s heuristics and forces to inline current function.
If I will user inline instead it will cause some problems?
No.
Best regards,
1 Like