logoalt Hacker News

metadat • today at 3:02 AM • 1 reply • view on HN

Agreed.. and what is going on with the `!` syntax? The docs are not exactly clear on the purpose in all cases.

https://tibleiz.net/copper/documentation.html#basic-syntax


Replies

teo_zero • today at 6:46 AM

I think it's the opposite of & in C++, that is T! is an object, while T is a reference to an object.