I'm a little confused about inlining member functions. Does all code actually have to be on one line or does it simply mean writing the whole function inside the class rather than from outside using the :: syntax?
lewashby
56
Junior Poster
Recommended Answers
Jump to PostI'm a little confused about inlining member functions.
It would help to understand how regular functions typically work. A single definition of the code is created, then calling code jumps into the definition to execute the function. Inlined functions have their bodies essentially pasted directly where the call …
All 4 Replies
Moschops
683
Practically a Master Poster
Featured Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
lewashby
56
Junior Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
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.