One can define an inline
function using the inline
keyword as it is shown in what follows:
inline void myFunc1() {
cout << "FUNC1" << endl;
}
My question is, what is the difference between the aforementioned definition and the one that follows:
__attribute__((always_inline)) void myFunc2() {
cout << "FUNC2" << endl;
}