[*] Conformity: Fix unexpected qualified names

This commit is contained in:
Reece Wilson 2023-08-11 10:25:02 +01:00
parent 47f9d09cd8
commit 7fa5650d29
3 changed files with 6 additions and 5 deletions

View File

@ -44,7 +44,7 @@ struct Type ## SOO
AUROXTL_INTERFACE_SOO_HDR_(vis, Type ## SOO, targetSize, ## __VA_ARGS__) \
inline auto operator ->() \
{ \
if constexpr (std::is_const_v<typename AuRemovePointer_t<decltype(this)>>) \
if constexpr (std::is_const_v<AuRemovePointer_t<decltype(this)>>) \
{ \
return (const extends *)this->padding; \
\
@ -57,7 +57,7 @@ struct Type ## SOO
\
inline auto AsPointer() \
{ \
if constexpr (std::is_const_v<typename AuRemovePointer_t<decltype(this)>>) \
if constexpr (std::is_const_v<AuRemovePointer_t<decltype(this)>>) \
{ \
return (const extends *)this->padding; \
} \

View File

@ -52,13 +52,13 @@ template <class T, class Enable = void>
struct AuIsPair_C;
template <class T>
struct AuIsPair_C<T, typename AuEnableIf_t<IsPairImpl<T>::value>>
struct AuIsPair_C<T, AuEnableIf_t<IsPairImpl<T>::value>>
{
using type = typename AuPair<typename T::first_type, typename T::second_type>;
using type = AuPair<typename T::first_type, typename T::second_type>;
};
template <class T>
struct AuIsPair_C<T, typename AuEnableIf_t<!IsPairImpl<T>::value>>
struct AuIsPair_C<T, AuEnableIf_t<!IsPairImpl<T>::value>>
{
using type = void;
};

View File

@ -11,6 +11,7 @@
#include <vector>
#include <utility>
#include <map>
#include <list>
#include <string>
#include <array>
#include <algorithm>