Skip to content

File member_like.h

FileList > module > utility > src > scl > utility > type_traits > member_like.h

Go to the source code of this file

Traits to build pointers to class members (C++20). More...

  • #include <type_traits>

Namespaces

Type Name
namespace scl
Root namespace of ScL project.

Detailed Description

  • scl::member_function_like_t<Type, Signature>: Builds a pointer-to-member-function type: Result (::std::remove_cvref_t<Type>::*)(Arguments...) [cv] [ref] [noexcept] where [cv]/[ref] are mirrored from Type and [noexcept] is mirrored from Signature.
  • scl::member_property_like_t<Type, Member>: Builds a pointer-to-data-member type: Member (::std::remove_cvref_t<Type>::*) Object cv/ref qualifiers do not affect the pointer type for data members.

The documentation for this class was generated from the following file module/utility/src/scl/utility/type_traits/member_like.h