refactor(templates): add final specifier for template class

This commit is contained in:
2022-12-30 19:11:01 +08:00
parent 9368a49806
commit e4d59b9832
8 changed files with 13 additions and 13 deletions

View File

@ -107,7 +107,7 @@ FORCEINLINE constexpr T* AddressOf(T& Object)
template <typename T>
const T* AddressOf(const T&&) = delete;
struct FIgnore
struct FIgnore final
{
template <typename T>
FORCEINLINE constexpr void operator=(T&&) const { }
@ -145,7 +145,7 @@ inline constexpr FIgnore Ignore;
* }, Target);
*/
template <typename... Ts>
struct TOverloaded : Ts...
struct TOverloaded final : Ts...
{
using Ts::operator()...;
};