79413377

Date: 2025-02-05 00:37:17
Score: 0.5
Natty:
Report link

You can export a function marked as inline from a module, and the compiler is going to make both the function declaration and its implementation available to those who import the module. The compiler can then choose to inline the function, much as it would if you had loaded the function via an #include statement instead of an import statement.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Wolfgang Bangerth