Home » U++ Library support » U++ Core » Value class suggestion [FEATURE REQUEST]
Value class suggestion [FEATURE REQUEST] [message #2374] |
Mon, 10 April 2006 10:03 |
|
Hi!
Very often I have to use awful casting to be able to do:
Value v(1);
if((int)v == 1)
{
...
}
Could operator==(String &) and operator==(int) (two common cases) be added to Value class?
This code seems to be much more 'eye-candy'..
if(v == 1)
PS: Of course operator!= should be extended too..
[Updated on: Mon, 01 May 2006 15:09] by Moderator Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Wed May 08 10:44:05 CEST 2024
Total time taken to generate the page: 0.01877 seconds
|