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 #35084 is a reply to message #35082] Tue, 10 January 2012 21:12 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
koldo wrote on Tue, 10 January 2012 09:51

So would this be possible ? Smile

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



Sure, already done, not worth mentioning (as it is the same trick)

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:31:38 CEST 2025

Total time taken to generate the page: 0.07380 seconds