[*] Amend: "[*] Updated: "auCastUtils.hpp [*] Update casts again 2 years ago""
This commit is contained in:
parent
6e92197438
commit
c9be4cc419
@ -86,9 +86,9 @@ static constexpr AuConditional_t<AuIsClass_v<T> && !AuIsPointer_v<T> && !AuIsRef
|
||||
}
|
||||
|
||||
template <class T, class Z>
|
||||
static constexpr AuConditional_t<AuIsPointer_v<T>, const AuRemoveConst_t<T>, const AuRemoveConst_t<T> *> AuReinterpretCast(const Z *other)
|
||||
static constexpr AuConditional_t<AuIsClass_v<T> && !AuIsPointer_v<T> && !AuIsReference_v<Z>, const T *, const T> AuReinterpretCast(const Z *other)
|
||||
{
|
||||
return reinterpret_cast<AuConditional_t<AuIsPointer_v<T>, const AuRemoveConst_t<T>, const AuRemoveConst_t<T> *>>(other);
|
||||
return reinterpret_cast<AuConditional_t<AuIsClass_v<T> && !AuIsPointer_v<T> && !AuIsReference_v<Z>, const AuRemoveConst_t<T> *, const AuRemoveConst_t<T>>>(other);
|
||||
}
|
||||
|
||||
template <class T, class Z>
|
||||
|
Loading…
Reference in New Issue
Block a user