On Sunday, 21 January 2018 at 20:46:56 UTC, Timon Gehr wrote:
On 21.01.2018 21:20, Mark wrote:
Just realized that I commented out the creation of the BST

new link: https://dpaste.dzfl.pl/ce620cbee919


'in' means 'const scope', but it seems you need references that are allowed to mutate the incoming items. Remove the 'in' attribute from the parameters and your problem should disappear.

Ok, I was looking at the wrong stuff. Looking at varidiac functions in the book, I'm seeing what you're saying.

I thought that was used as a keyword for variadic arguments.


Thanks, that worked perfectly!
Mark.

Reply via email to