Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
lib::meta::anonymous_namespace{function.hpp} Namespace Reference

Classes

struct  _DetectSingleArgFunction
 

Functions

template<class W , class TAR >
constexpr TARmaybeInject (W &instance, InstancePlaceholder< TAR >)
 
template<class W , typename X >
constexprmaybeInject (W &, X &&x)
 (default case: fall-through)
 

Class Documentation

◆ lib::meta::anonymous_namespace{function.hpp}::_DetectSingleArgFunction

struct lib::meta::anonymous_namespace{function.hpp}::_DetectSingleArgFunction
Class Members
typedef Sig Sig
typedef Head Arg
+ Collaboration diagram for _DetectSingleArgFunction< FUN >:

Function Documentation

◆ maybeInject() [1/2]

template<class W , class TAR >
constexpr TAR * maybeInject ( W &  instance,
InstancePlaceholder< TAR  
)
inlineconstexpr

helper to detect an InstancePlaceholder

Returns
an instance-pointer, statically casted to the marked target type.

Definition at line 362 of file function.hpp.

References maybeInject().

Referenced by maybeInject(), and maybeInject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ maybeInject() [2/2]

template<class W , typename X >
constexpr X maybeInject ( W &  ,
X &&  x 
)
inlineconstexpr

(default case: fall-through)

Definition at line 370 of file function.hpp.

References maybeInject().

+ Here is the call graph for this function: