Compilation fails when trying to call a protected function from a public function within the derived class, when both functions carry the same constraints.
Here is a repro on Compiler Explorer that compares NVCC, GCC and MSVC.
Compilation fails when trying to call a protected function from a public function within the derived class, when both functions carry the same constraints.
Here is a repro on Compiler Explorer that compares NVCC, GCC and MSVC.
I suggest filing a bug