Author: wyoung
Date: Sat Feb 2 02:30:13 2008
New Revision: 2151
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2151&view=rev
Log:
Hid all Date, DateTime and Time data members behind accessors. For all
but DateTime, this provides no benefit, but it's needed for symmetry
with DateTime, which needs it to keep the now_ data member consistent.
This lets DateTime::is_now() be a pure accessor, just returning now_.
Modified:
trunk/lib/datetime.cpp
trunk/lib/datetime.h
trunk/test/datetime.cpp
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/lib/datetime.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/datetime.cpp?rev=2151&r1=2150&r2=2151&view=diff
Modified: trunk/lib/datetime.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/datetime.h?rev=2151&r1=2150&r2=2151&view=diff
Modified: trunk/test/datetime.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/test/datetime.cpp?rev=2151&r1=2150&r2=2151&view=diff
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits