TArray of Abstract class type
When I declare a TArray and ISomeInterface has protected constructor & destructor and thus cannot be instantiated, it gives me an error that it can't access the destructor!
Am I suppose to go around that by doing TArray < TSharedRef< ISomeInterface > > ?
Any other options?
Why is this happening?
If you do
the TArray requires a copy and for an abstract class that is not possible. Instead you should reference your interfaces through pointers or similar!
answered Jun 18 '15 at 02:31 AM
What if I need to clean the memory?
DOSE clean up the A istance?
answered Mar 07 '16 at 08:46 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here