On Sat, Sep 28, 2024 at 06:16:55PM +, Ian via Digitalmars-d-learn wrote:
> Hi,
>
> I'm coming from C and some C++ so the way D stores class instance
> variables is new to me. If I'm not mistaken the basic unadorned
> instance variable is like a "hidden" pointer. So, when passing class
> instan
On Saturday, 28 September 2024 at 18:16:55 UTC, Ian wrote:
Hi,
I'm coming from C and some C++ so the way D stores class
instance variables is new to me. If I'm not mistaken the basic
unadorned instance variable is like a "hidden" pointer. So,
when passing class instance variables to a functio
Hi,
I'm coming from C and some C++ so the way D stores class instance
variables is new to me. If I'm not mistaken the basic unadorned
instance variable is like a "hidden" pointer. So, when passing
class instance variables to a function, what would be the point
of passing a pointer or ref?
I