Home » U++ Library support » U++ Core » int16 support in Value?
int16 support in Value? [message #15656] |
Fri, 02 May 2008 11:35  |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
Would it be possible to add 'operator int16' to Value? I often want to read directly from a ctrl into a data structure containing shorts and writing (short)(int) everywhere is ugly and annoying. Converting the other way works fine as it's an up-cast.
I've added it to my version without issue, but is there some subtle problem I'm missing?
|
|
|
Goto Forum:
Current Time: Fri Jul 18 14:28:59 CEST 2025
Total time taken to generate the page: 0.03675 seconds
|