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 » Community » Newbie corner » reference solved:
reference solved: [message #58126] Mon, 21 February 2022 08:58
reign_of_terror is currently offline  reign_of_terror
Messages: 6
Registered: October 2021
Promising Member
Value v = 3;
Ref r=v;
Ref y = r;
Cout() << &v << "\n";
Cout()<< &y.Get<Value>()<<" :foo"<<"\n";
Cout() << y.GetValue();
Cout() << "\n";

Hi all-

If I use the code like this it returns the same memory address
for v and y.

Thanks, reign_of_terror
Previous Topic: ref questions
Next Topic: how alter name of EditField ?
Goto Forum:
  


Current Time: Wed Apr 24 12:14:20 CEST 2024

Total time taken to generate the page: 0.03125 seconds