This would be better as `*c >= start && *c <= end` rather than ref-ing the other args.