std::max is only defined on same T type. Older GCC fail to promote it correctly.
Attach a file by drag & drop or click to upload