Software patents are fucked, ain’t they? You can implement a thing using completely different code, algorithms, hell even programming languages/CPU architectures, and you’d still be infringing. There was some stupid fight over a simple slider UI element to unlock a phone a few years back.
for (auto it = line.begin(); it != line.end(); it++) { snort(line); }