On Fri, Aug 08, 2025 at 02:11:48PM +0000, Brother Bill via Digitalmars-d-learn 
wrote:
> What are some use cases where struct opCall would be useful?

When the struct is intended to be a function object.  I.e., a type that
abstracts a function.


> As far as I know, this capability is unique to D.  Do any other
> languages support this?

C++.  Not that that's a good example of what a language should do. :-D


T

-- 
What did the epileptic have for lunch? Seizure salad.

Reply via email to