View Single Post
Old Dec 27th, 2006, 1:20 PM   #2
peaceofpi
hi: for(;;) goto hi;
 
peaceofpi's Avatar
 
Join Date: Jun 2006
Posts: 104
Rep Power: 3 peaceofpi is on a distinguished road
Send a message via AIM to peaceofpi Send a message via MSN to peaceofpi
Well I'm no pro but I'm pretty sure the second one doesn't work. More like

struct Tool
{
	static inline int foo() {}
	static inline int bar() {}
};

int main()
{
	Tool hammer;
	hammer::foo();
	hammer::bar();
}

Hope I helped >_>
__________________
How do you play Religious Roulette?
Stand around in a circle and blaspheme till someone gets struck by lightning.
peaceofpi is offline   Reply With Quote