www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Use cases for __traits(initSymbol, ...)

reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
Which are the use cases of

https://dlang.org/spec/traits.html#initSymbol

?
Dec 09
parent "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
On 10/12/2025 1:55 AM, Per Nordlöw wrote:
 Which are the use cases of
 
 https://dlang.org/spec/traits.html#initSymbol
 
 ?
Before this was added you had to access it via TypeInfo. An unnecessary bit of work.
Dec 09