Re:Proposal: expression to create pointer to simple types
by fanf2 on Monday April 19, 2021 @11:58AM
(#26864233)
Yes, if f() returns the type T then you can write
The type in brackets needs to be an array so that if f() returns a struct then the initializer list has the right shape. If T is a simple type then you can drop the [].
[ Parent
| on HN ]
There are no comments on this comment yet.