Searched refs:HelperT (Results 1 – 3 of 3) sorted by relevance
71 using HelperT = detail::PointerSumTypeHelper<TagT, MemberTs...>; variable90 typename HelperT::template Lookup<HelperT::MinTag>::PointerT MinTagPointer;100 void set(typename HelperT::template Lookup<N>::PointerT Pointer) { in set()101 void *V = HelperT::template Lookup<N>::TraitsT::getAsVoidPointer(Pointer); in set()102 assert((reinterpret_cast<uintptr_t>(V) & HelperT::TagMask) == 0 && in set()110 create(typename HelperT::template Lookup<N>::PointerT Pointer) { in create()117 void clear() { set<HelperT::MinTag>(nullptr); } in clear()120 return static_cast<TagT>(getOpaqueValue() & HelperT::TagMask); in getTag()125 template <TagT N> typename HelperT::template Lookup<N>::PointerT get() const { in get()127 return HelperT::template Lookup<N>::TraitsT::getFromVoidPointer(P); in get()[all …]
65 typedef detail::PointerSumTypeHelper<TagT, MemberTs...> HelperT; typedef73 create(typename HelperT::template Lookup<N>::PointerT Pointer) { in create()75 void *V = HelperT::template Lookup<N>::TraitsT::getAsVoidPointer(Pointer); in create()76 assert((reinterpret_cast<uintptr_t>(V) & HelperT::TagMask) == 0 && in create()82 TagT getTag() const { return static_cast<TagT>(Value & HelperT::TagMask); } in getTag()86 template <TagT N> typename HelperT::template Lookup<N>::PointerT get() const { in get()88 return HelperT::template Lookup<N>::TraitsT::getFromVoidPointer(P); in get()92 typename HelperT::template Lookup<N>::PointerT cast() const { in cast()94 return HelperT::template Lookup<N>::TraitsT::getFromVoidPointer(getImpl()); in cast()97 operator bool() const { return Value & HelperT::PointerMask; }[all …]