Archived

This topic is now archived and is closed to further replies.

original vesoljc

overloaded functions problem

Recommended Posts

why again this wont work?
		inline axpVoid			Ident			(const axpString&);


		inline const axpString&	Ident			() const;
		inline		 axpString& Ident			();

		inline const axpChar*	IdentStringPtr	() const;
		inline	     axpChar*	IdentStringPtr	();

		axpChar*				Ident			();
axpChar* Ident() gets me error "overloaded function differs only by return type" (C2556)

Share this post


Link to post
Share on other sites
See MSDN

Compiler Error C2556
''identifier'' : overloaded functions only differ by return type

The indicated overloaded functions had different return types but the same parameter list.

Each overloaded function must have a distinctly different formal parameter list.



Can''''t be root?Reboot!
mount -r /home/hell

Share this post


Link to post
Share on other sites