template<class TBar>
class Foo
{
// Note: Template parameter re-declaration in the copy constructor
Foo<TBar>(const Foo<TBar>&);
};
...which is the syntax seen in tier0/threadtools.h. Although the AMBuild doesn't use C++20, I do -- and this change is rather simple, and correct anyhow.
GCC won't compile this with
-std=c++20
:...which is the syntax seen in
tier0/threadtools.h
. Although the AMBuild doesn't use C++20, I do -- and this change is rather simple, and correct anyhow.