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 » U++ Library support » U++ Core » Array problems
Re: Array problems [message #48620 is a reply to message #48619] Wed, 09 August 2017 13:55 Go to previous messageGo to previous message
rafiwui is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there a U++ function to copy a String contents to the clipboard
Next Topic: Missing ArrayIndex and AIndex
Goto Forum:
  


Current Time: Sat May 04 22:35:21 CEST 2024

Total time taken to generate the page: 0.03115 seconds