Types:T: Difference between revisions

From Resonite Wiki
created page
 
No edit summary
 
Line 1: Line 1:
<nowiki><code>T</code></nowiki> is not an actual type. It is a stand-in on components that can work on arbitrary types.
<code>T</code> is not an actual type. It is a stand-in on components that can work on arbitrary types.


An example would be [[ValueCopy (Component)|ValueCopy<T>]] which can copy any type of value, so the T stands for whichever type a specific ValueCopy was created for.
An example would be [[ValueCopy (Component)|ValueCopy<T>]] which can copy any type of value, so the T stands for whichever type a specific ValueCopy was created for.

Latest revision as of 03:06, 13 January 2024

T is not an actual type. It is a stand-in on components that can work on arbitrary types.

An example would be ValueCopy<T> which can copy any type of value, so the T stands for whichever type a specific ValueCopy was created for.