View Single Post
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#23
apologies for needing to ask, but if I write the following, won't it work?
Code:
// header
class A
{
	A();
	int aBoo(); //inline implemenation
	~A();
};
Code:
// implementation
#include <iostream>
A::A()
{
	// make 'A' type objects
}

inline int A::aBoo()	// inline functon
{
	std::cout << "boo" << std::endl;
	return 0;
}

~A::A()
{
	// kill 'A' type objects;
}
Are we allowed to use inline to write code for Maemo5? Maybe I'm missing your point? Why does do we need more recent compiler and if you convince us, what are its dependencies/pre-requesites?