Q
qazmlp
// test.h
class test
{
public :
inline void check() ;
} ;
// test.C
inline void test::check() // Is 'inline' optional here?
{
}
Do I need to use 'inline' keyword again in the prototype in .C file
when it is already given as 'inline' in the .h file?.
class test
{
public :
inline void check() ;
} ;
// test.C
inline void test::check() // Is 'inline' optional here?
{
}
Do I need to use 'inline' keyword again in the prototype in .C file
when it is already given as 'inline' in the .h file?.