This mailing list is for discussing development *of* gcc, not help
using it. Your question would be appropriate on the
gcc-h...@gcc.gnu.org list, please take any follow-up there, thanks.
On 7 February 2012 13:57, Alexandre Almeida wrote:
>
> It seems to be impossible to define an inline member fun
It seems to be impossible to define an inline member function externally with
GCC. When attempting to do so, the linker returns an error.
Here is how I attempted to do it:
Header file:
-
class C
{
public:
void foo();
};
CPP file:
-
inline void C::foo()
{
[..