Line 23: Char 20: error: variable 'isBST' cannot be implicitly captured in a lambda with no capture-default specified return isBST(root->left, lower, root->val) && isBST(root->right, root->val, upper); ^ Line 16: Char 57: note: 'isBST' declared here function<bool(TreeNode*, long long, long long)> isBST = [](TreeNode* root, long long lower, long long upper) ^ Line 16: Char 65: note: lambda expression begins here function<bool(TreeNode*, long long, long long)> isBST = [](TreeNode* root, long long lower, long long upper)