Home » U++ Library support » U++ Core » Array problems
Re: Array problems [message #48620 is a reply to message #48619] |
Wed, 09 August 2017 13:55   |
rafiwui
Messages: 105 Registered: June 2017 Location: Stuttgart, Germany
|
Experienced Member |
|
|
Quote:Answer to question 2 (your first question is closely related to your second question):
I thought so.
Quote:
Did you try:
Array<WithTestLayout<ParentCtrl> > layouts;
auto& testLayout = layouts.Add(); // <-- Creates the ParentCtrl with the given layout as its element.
This would be a solution for an array full of a specific layout, but I want an array where I can put different layouts and call them depending on some other things. And with this approach all the elements in the array are of type Array<WithTestLayout<ParentCtrl>>.
Greetings
Daniel
|
|
|
Goto Forum:
Current Time: Tue May 13 23:35:07 CEST 2025
Total time taken to generate the page: 0.00733 seconds
|