U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Sun Apr 26 01:45:09 GMT+2 2026

Total time taken to generate the page: 0.00612 seconds