Is it possible to override and overload class Object?
JG
jg at jg.com
Tue Sep 19 06:28:07 UTC 2023
On Monday, 18 September 2023 at 21:21:45 UTC, Salih Dincer wrote:
> Hi All,
>
> My problem is actually about the `new` operator. As far as I
> know, we cannot overload it. Therefore, all the operators that
> I use to create arrays with basic types work fine, but I need
> an extra struct Array to use it in my own type (struct Payload
> in the example).
>
> [...]
It is a bit unclear, what you want to achieve. Forgetting about
the implementation what would you like to write but can't?
More information about the Digitalmars-d
mailing list