2 ms·
The compiler doesn't have enough information yet to pick an overload when instantiating the transform template. transform takes any F as the function parameter,
by mmaniac 2y ago
The compiler doesn't have enough information yet to pick an overload when instantiating the transform template. transform takes any F as the function parameter, which isn't specific enough to pick a specific function pointer from an overload set.