Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Inline is the keyword here (litterally). Inline, in C++, is defined as disabling the requirement of having exactly one definition of a function (it is also a weak hint for the compiler to perform inlining).

Template functions are implicitly inline.

Inline in C has a similar but subtly different definition.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: