Search code examples
c++linkage

How can I prove that inline functions default to internal linkage?


How can I prove that inline functions iin class default to internal linkage?

In other words/:

How can I display output of internal linkage to console?

EDIT: unix platform


Solution

  • Here is an FAQ about inline functions http://www.parashift.com/c++-faq-lite/inline-functions.html.