Re: [fpc-devel] generics syntax question

2025-11-29 Thread Sven Barth via fpc-devel
Martin Frb via fpc-devel schrieb am Sa., 29. Nov. 2025, 20:24: > It is possible in const (anywhere where a const can be given, not just > const blocks) to be able to: > - access values inside structures > - take the address of a field. > > That also works for types created by specialisation. But

[fpc-devel] generics syntax question

2025-11-29 Thread Martin Frb via fpc-devel
It is possible in const (anywhere where a const can be given, not just const blocks) to be able to: - access values inside structures - take the address of a field. That also works for types created by specialisation. But only if they are specialized to a new named type. specialization can al