Yes you can, and it’s actually enforced really well (unlike gcc/clang etc, where __attribute__((always_inline))
is unfortunatly still optional for the compiler, depending on multiple other compiler flag settings).
The keyword works in all versions of Visual Studio.
solved VS __forceinline in cpp [closed]