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

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: 14290
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: Mon Apr 27 13:37:15 GMT+2 2026

Total time taken to generate the page: 0.01425 seconds