• Advertisement

Archived

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

overloaded functions problem

This topic is 5326 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement