• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Experimental Feedback
  • /AREXP-27
Back
0

Can no longer use instantiated templates in configs

General
0

State

No action taken
Issue key
AREXP-27
Access
Public
Space
Arma Reforger
Project
Experimental Feedback
Creator
kexanone
Created
Apr 3, 2026
Views
166
Experimental Version
1.7.0.13
Mission
—
Is it modded?
no
Description

Trying to compile the code below in Workbench

//------------------------------------------------------------------------------------------------
[BaseContainerProps()]
class KSC_CooMatrix<Class T> : Managed
{
	[Attribute()]
	ref array<int> m_aRowIdcs;
	
	[Attribute()]
	ref array<int> m_aColIdcs;
	
	[Attribute()]
	ref array<T> m_Data;
}

//------------------------------------------------------------------------------------------------
[BaseContainerProps()]
class KSC_SomeDataMatrix : KSC_CooMatrix<float>
{
}

throws

Reactions

Activity

    6 months ago
  • kexanone
    created issue6 months ago
  • 6 months ago
  • kexanone(edited)
    6 months ago
    kexanone(edited)
    6 months ago

    Can be closed, as removing [BaseContainerProps()] from the template, while keeping it for the instantiated, resolves it, which makes sense.

  • 6 months ago
  • l909
    changed state to
    NO ACTION TAKEN
    6 months ago

You are not signed in. Please sign in to see more details and to reply.

State

No action taken
Issue key
AREXP-27
Access
Public
Space
Arma Reforger
Project
Experimental Feedback
Creator
kexanone
Created
Apr 3, 2026
Views
166