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 » U++ Library support » U++ Core » Date& operator++
Re: Date& operator++ [message #35076 is a reply to message #35074] Mon, 09 January 2012 16:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Why not, its there (as member function).

What about a little optimization:

Date& operator++() { if(day < 28) day++; else Set(Get() + 1); return *this; }

?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Preferred way to access VectorMap
Next Topic: Init a ctrl inside INITBLOCK
Goto Forum:
  


Current Time: Mon Aug 04 02:26:29 CEST 2025

Total time taken to generate the page: 0.14594 seconds