Create a record from a Record of another type.
This constructor can be used to homogenize types, for example to create a vector<Record<any>>
from various Record<T>
s with different T
s.
- Warning
- Source type TFrom must be castable to destination type T.
- See also
- cast