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 » U++ Library support » U++ Core » int16 support in Value?
int16 support in Value? [message #15656] Fri, 02 May 2008 11:35 Go to previous message
mrjt is currently offline  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?
 
Read Message
Read Message
Read Message
Previous Topic: cout, cin etc. question
Next Topic: StaticMutex::Get does not compile in svn
Goto Forum:
  


Current Time: Fri Jul 18 14:28:59 CEST 2025

Total time taken to generate the page: 0.03675 seconds