Home » U++ Library support » U++ Core » Moveable classes with virtual functions/Documentation error
Re: Moveable classes with virtual functions/Documentation error [message #2555 is a reply to message #2551] |
Mon, 17 April 2006 20:26  |
hans
Messages: 44 Registered: March 2006 Location: Germany
|
Member |
|
|
Yes, you are right. Virtual methods are in embedded class Void inside Value, so no problem for Value.
But imho the restriction in practice is too restrictive, as all implementations I know off are storing a vptr (ptr to virtual methods table), so moveable should not be a problem.
I agree that in practice most of the time only concrecte
types need to be moveable, so playing safe is probably better.
|
|
|
Goto Forum:
Current Time: Mon Aug 25 03:35:19 CEST 2025
Total time taken to generate the page: 0.04645 seconds
|