Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » [BUG?] MIValue (Why "String &MIValue::Get(void)" is called ? it should not.)
Re: [BUG?] MIValue [message #44539 is a reply to message #44534] |
Wed, 25 March 2015 10:52   |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
Hi,
Here is a simple test case, which highlighted the problem (attachment)
MIValue GetTuple()
{
MIValue r;
r.Add("a", "b");
return r;
}
CONSOLE_APP_MAIN
{
MIValue v = GetTuple();
DUMP(v.Get("a"));
}
the output is:
String &MIValue::Get(void)
error:Not a String value type
String &MIValue::Get(void)
String &MIValue::Get(void)
error:Not a Tuple value type
v.Get("a") = error:Not a Tuple value type
regards
omari.
|
|
|
Goto Forum:
Current Time: Fri Jun 20 03:06:17 CEST 2025
Total time taken to generate the page: 0.03986 seconds
|