Home » Developing U++ » U++ Developers corner » Refactoring Moveable
Re: Refactoring Moveable [message #60775 is a reply to message #60744] |
Sun, 08 September 2024 13:18   |
Oblivion
Messages: 1223 Registered: August 2007
|
Senior Contributor |
|
|
Hello Mirek,
Good to be on C++17
Hovewer, this seems to break a lot of things.
For example, If I derive something from MoveableAndDeepCopyOption<T>, which is now derived from TriviallyRelocatable<T> (Say, T = Vector<T>, which was possible up until now) then I can't access the methods or members of T.
Reason: TriviallyRelocatable<T> is defined as:
template <class T>
struct TriviallyRelocatable {};
Any ideas on how to proceed, or am I missing something?
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Sun, 08 September 2024 13:19] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Aug 12 22:12:05 CEST 2025
Total time taken to generate the page: 0.05763 seconds
|