Home » U++ Library support » U++ Core » Value: no deep copy support?
Re: Value: no deep copy support? [message #29453 is a reply to message #29446] |
Thu, 21 October 2010 19:06   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
kohait00 wrote on Thu, 21 October 2010 02:47 | thanks mirek, got to rethink the concept.
i'm a more or less a freshy in all that, programming idioms and tricks in c++. graduated not to a sowftware engeneer, but technical and hardware but happened to begin to work in software engeneering. where i need to teach my self a lot.
thanks upp speeds up all of that. thanks 
EDIT: just a question aside:
why is then ValueArray there, which is sort of a container? and why the possibility to 'hide' own custom data inside Value, using RawValue or RichValue..
|
Why not?
Quote: |
isnt Value meant to be a ref count based reference to some
|
That is just implementation detail. In fact, I was thinking that certain types will be stored differently.
Quote: |
abstract data (not only the intrinsic ones), and to even be able to edit it as presented in one of the Value tutorials, using const_cast?
|
Ops, where?
Surely, you can use const_cast brute force there, but that is very very bad idea. If this is in any example, it should be removed quickly.
|
|
|
 |
|
Value: no deep copy support?
By: kohait00 on Thu, 02 September 2010 15:58
|
 |
|
Re: Value: no deep copy support?
By: mirek on Mon, 06 September 2010 10:38
|
 |
|
Re: Value: no deep copy support?
By: mirek on Mon, 06 September 2010 10:39
|
 |
|
Re: Value: no deep copy support?
By: kohait00 on Wed, 20 October 2010 16:08
|
 |
|
Re: Value: no deep copy support?
By: kohait00 on Wed, 20 October 2010 16:55
|
 |
|
Re: Value: no deep copy support?
By: mirek on Wed, 20 October 2010 23:16
|
 |
|
Re: Value: no deep copy support?
By: kohait00 on Thu, 21 October 2010 08:47
|
 |
|
Re: Value: no deep copy support?
By: mirek on Thu, 21 October 2010 19:06
|
 |
|
Re: Value: no deep copy support?
By: kohait00 on Thu, 21 October 2010 20:17
|
 |
|
Re: Value: no deep copy support?
By: mirek on Thu, 21 October 2010 23:23
|
 |
|
Re: Value: no deep copy support?
By: kohait00 on Thu, 21 October 2010 23:30
|
Goto Forum:
Current Time: Tue Jun 17 09:09:57 CEST 2025
Total time taken to generate the page: 0.04220 seconds
|