This doesn't work:

bool less_than (T)(auto ref T a, auto ref T b)
{
        return a < b;
}

Error: auto can only be used for template function parameters

What am I doing wrong? Is this not a template function?

Reply via email to