xentara-plugin v2.0.4
The Xentara Plugin Framework
|
A projection that gets the name of an object using name() More...
#include <xentara/config/CustomResolver.hpp>
Public Member Functions | |
template<typename Object > requires requires(const Object &object) { object.name(); } | |
constexpr auto | operator() (const Object &object) const -> decltype(auto) |
Gets the name by calling object.name(). | |
template<typename Pointer > requires requires(const Pointer &pointer) { pointer->name(); } | |
constexpr auto | operator() (const Pointer &pointer) const -> decltype(auto) |
Gets the name by calling pointer->name(). | |
template<typename ReferenceWrapper > requires requires(const ReferenceWrapper &referenceWrapper) { referenceWrapper.get().name(); } | |
constexpr auto | operator() (const ReferenceWrapper &referenceWrapper) const -> decltype(auto) |
Gets the name by calling object.get().name(). | |
A projection that gets the name of an object using name()
|
constexpr |
Gets the name by calling object.name().
|
constexpr |
Gets the name by calling pointer->name().
This overload is used for pointer-like references.
|
constexpr |
Gets the name by calling object.get().name().
This overload is used for std::reference_wrapper and similar references.