On 21.01.2018 21:20, Mark wrote:
Just realized that I commented out the creation of the BSTnew 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.