The special rules for inline functions require that they be defined in each file in which
they are used.The easiest way to make sure that inline definitions are available to all files
in a multifile program is to include the inline definition in the same header file in which
the corresponding class is defined.
please write a sample code to make me understand the above point.
regards,
ravi
ravi_14
0
Light Poster
Recommended Answers
Jump to PostYou should probably read this article and gain a better understanding of what inline functions are and how to call them.
All 4 Replies
tinstaafl
1,176
Posting Maven
David W
131
Practically a Posting Shark
L7Sqr
227
Practically a Master Poster
David W
131
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.