MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Concepts::CMemberPointerOf Concept Reference

#include <Concepts.h>

Concept definition

template<typename OwnerObject, typename MemberPointerType>
std::is_member_pointer_v<MemberPointerType>

Detailed Description

Concept that returns true if the given member pointer belongs to the class.

Example: class MyClass { int myMember; }

CMemberPointerOf<MyClass, &MyClass::myMember> // --> true;

class MyOtherClass { }

CMemberPointerOf<MyOtherClass, &MyClass::myMember> // --> false;

Definition at line 298 of file Concepts.h.