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 » HELPER: Value grouping to ValueArray
Re: HELPER: Value grouping to ValueArray [message #29996 is a reply to message #29826] Thu, 02 December 2010 13:44 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
i came to the conclusion that easy is best again Smile

#define ASVALUEARRAY(x) ValueArray(Vector<Value>() << x)

Value v = ASVALUEARRAY(123 << "Hallo" << 34.9);

is actually same approach as in concatenating to cout, or in LOG()
so is almost natural Smile
maybe this can go to Value.h..
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: PROPOSAL: linear Scaler helper for different min/max domains
Next Topic: Date limited to 2020 and 2015 does not work ?!?
Goto Forum:
  


Current Time: Wed Aug 27 07:11:40 CEST 2025

Total time taken to generate the page: 0.00618 seconds