2 Comments
Jul 8, 2023Liked by Taras Tsugrii

nice!

btw, I dont think you need the ctor of PolyVector, do you?

(if we do need it, we should = default it, but I dont think we need it unless I'm missing something).

I tend to be confused w/ invoke vs apply. this is a good ref: https://stackoverflow.com/questions/52449163/what-is-the-difference-between-stdinvoke-and-stdapply

since you are using tuple, apply is the right approach as you have it above.

thanks!

Expand full comment
author

thank you! You're correct, empty constructor is a left-over from one of the earlier experiments I haven't fully cleaned up after. It's not just unnecessary but it's actually bad to have it for the reasons behind the rule of zero, so thanks for bringing this up!

Expand full comment