🛠️ Steven Gong

Search

SearchSearch
  • inline keyword (C++)
  • inline function
  • inline variable

Oct 31, 2023, 1 min read

inline keyword (C++)

inline function

If a function is inline, the compiler places a copy of the code of that function at each point where the function is called at compile time. One of the important advantages of using an inline function is that it eliminates the function calling overhead of a traditional function.

inline variable

https://www.geeksforgeeks.org/cpp-17-inline-variables/

https://stackoverflow.com/questions/38043442/how-do-inline-variables-work

Graph View

Backlinks

  • CUDA Examples
  • VR Headset Logs

Created with Quartz, © 2025

  • Blog
  • LinkedIn
  • Twitter
  • GitHub