1
struct S { void foo(); }; inline void S::foo() {} 

Can't figure out from the documentation if this function is considered inline or not. We use the inline keyword but in the definition of a function previously declared as non-inline. What about the following case?

struct S { inline void foo(); }; void S::foo() {} 
1

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.