Код: Выделить всё
template
struct TInt
{
int Get() const { return StoredVal; }
TInt& operator=(int Val) { StoredVal = FMath::Clamp(Val, Min, Max); return *this; }
bool WithinRange(int Val) const { return Min
Подробнее здесь: [url]https://stackoverflow.com/questions/79055545/cannot-substitute-template-argument-for-template-template-parameter[/url]