www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - ! Operator

reply Justin P. <j20513831 gmail.com> writes:
Where can I find info. about the exclamation point?
Apr 07
next sibling parent reply novice2 <sorry no.em.ail> writes:
On Wednesday, 8 April 2026 at 01:53:29 UTC, Justin P. wrote:
 Where can I find info. about the exclamation point?
hope this help https://dlang.org/spec/expression.html#UnaryExpression
Apr 07
parent reply "H. S. Teoh" <hsteoh qfbox.info> writes:
On Wed, Apr 08, 2026 at 04:51:56AM +0000, novice2 via Digitalmars-d-learn wrote:
 On Wednesday, 8 April 2026 at 01:53:29 UTC, Justin P. wrote:
 Where can I find info. about the exclamation point?
hope this help https://dlang.org/spec/expression.html#UnaryExpression
In D, `!` may also be used for template instantiation. For those use cases, look up templates in the documentation. T -- Being forced to write comments actually improves code, because it is easier to fix a crock than to explain it. -- G. Steele
Apr 07
parent Nick Treleaven <nick geany.org> writes:
On Wednesday, 8 April 2026 at 05:04:25 UTC, H. S. Teoh wrote:
 On Wed, Apr 08, 2026 at 04:51:56AM +0000, novice2 via 
 Digitalmars-d-learn wrote:
 On Wednesday, 8 April 2026 at 01:53:29 UTC, Justin P. wrote:
 Where can I find info. about the exclamation point?
hope this help https://dlang.org/spec/expression.html#UnaryExpression
In D, `!` may also be used for template instantiation. For those use cases, look up templates in the documentation.
https://dlang.org/spec/template.html#explicit_tmp_instantiation
Apr 08
prev sibling parent reply =?UTF-8?Q?Ali_=C3=87ehreli?= <acehreli yahoo.com> writes:
On 4/7/26 6:53 PM, Justin P. wrote:
 Where can I find info. about the exclamation point?
The following index section is still useful to me: https://ddili.org/ders/d.en/ix.html Ali
Apr 08
parent Andy Valencia <dont spam.me> writes:
On Wednesday, 8 April 2026 at 17:38:29 UTC, Ali Çehreli wrote:
 The following index section is still useful to me:
   https://ddili.org/ders/d.en/ix.html
 Ali
An excellent resource I don't remember seeing previously. Bookmarked--thank you. Andy
Apr 08