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++ » U++ TheIDE and Library: Releases and ChangeLogs » Value improvements...
Value improvements... [message #4180] Thu, 27 July 2006 19:07 Go to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
- Instead of external function IsType you can now use method Is:

Value v = 1;
v.Is<int>(); -> true

- Value now supports direct equality comparisons for standard types (and all types that implement it; non-poly-equal rich types have had that without further support already).

Means now you can write

v == 1;

instead (still possible)

(int)v == 1;

Note that this second feature should be considered experimental, heavy C++ overloading is convenient but sometimes tricky...

Mirek
 
Read Message
Read Message icon14.gif
Previous Topic: SQL updates...
Next Topic: Small SqlCtrls improvement
Goto Forum:
  


Current Time: Fri May 17 03:06:46 CEST 2024

Total time taken to generate the page: 0.02353 seconds