KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What's the difference between using the inline keyword before a function and just declaring the whole function in the header? so... int whatever() { return 4; } vs .h: inline int whatever(); .cpp: inline int myClass::whatever() { return 4; } for that matter, what does this do: inline int whatever() { return 4; }
Tags (comma-separated)
Save Edits
Cancel