Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Documentation » The very first taste of T++ icons in the left bar..
Re: The very first taste of T++ icons in the left bar.. [message #18529 is a reply to message #18422] Mon, 06 October 2008 22:26 Go to previous messageGo to previous message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
I created a class and in the header file for the class, I defined a global operator< (outside of class definition) so I can use U++ container sort functionality.

In the header:
extern bool operator<(const MyClass& mc1, const MyClass& mc2);

In the source file:
bool operator<(const  MyClass& mc1, const MyClass& mc2)
{
  //do stuff
  return some_boolean;
}

After documenting this, it does not show up in the T++ icons as documented.

Should I be defining/declaring this in a different way?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Style & T++....
Next Topic: Documentation how-to...
Goto Forum:
  


Current Time: Sun Apr 28 09:39:16 CEST 2024

Total time taken to generate the page: 0.02935 seconds