Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ inline in .cpp and not in header

If multiple source code files require the use of the function,
they will not know that the function is to be inlined if the inline keyword
appears in the source *.cpp rather than the header.
Source by www.wyzant.com #
 
PREVIOUS NEXT
Tagged: #inline #header
ADD COMMENT
Topic
Name
6+1 =