Real beginner traits question

WhatMeForget kheaser at gmail.com
Mon Sep 25 05:28:13 UTC 2017


This is taken exactly from the traits documentation.

------------------------------------------------

25 Traits

25.21 identifier

Takes one argument, a symbol. Returns the identifier for that 
symbol as a string literal.

------------------------------------------------


There are no examples. My naive brain keeps thinking that a 
symbol and an identifier are the same things.  Can someone give 
me good definitions of "symbol" and "identifier".   And maybe an 
example if it is not too much trouble.


More information about the Digitalmars-d-learn mailing list