Closed JFreegman closed 3 years ago
@suhr can have his own vision on which pattern for setters to use. Let's wait on his review.
@suhr can have his own vision on which pattern for setters to use. Let's wait on his review.
I couldn't get it to compile, so I just wrote it in what I consider to be a simpler way. I don't get why you would want it to return itself and why it doesn't pass self by reference.
Edit: Nevermind I just figured it out, updated PR.
Also fixed the setter functions so that you can actually use them.