Hi, in C and C++ you can use #define to substitute a value in
place of an identifier while preprocessing. If you initialize a
new string and don't change its value after that, will the
compiler substitute the string identifier with its value, like
#define in C, or will it make a string in memory and refer to
that?
- #define-like behavior Jeremy via Digitalmars-d-learn
- Re: #define-like behavior Mike Parker via Digitalmars-d-learn
- Re: #define-like behavior Jeremy via Digitalmars-d-learn
- Re: #define-like behavior bomat via Digitalmars-d-learn
- Re: #define-like behavior Paul Backus via Digitalmars-d-learn
- Re: #define-like beha... bomat via Digitalmars-d-learn
- Re: #define-like behavior Paul Backus via Digitalmars-d-learn