I was playing around with some code, and a question occurred to me when I was making a constructor; I know you can call to a data member in this manner:
ExampleClassConstructor(arg1):classvar(arg1)}
But I'm curious to know if you can make the bit after the ':' more complex, such as:
It seems like a useful thing to be able to do. I'm not very experienced with constructors, so there may also be a blatantly obvious way to do this that is much simpler.