preCICE v3.1.2
|
struct giving access to the impl of a befriended class or struct More...
#include <Testing.hpp>
Static Public Member Functions | |
template<typename T > | |
static auto | impl (T &obj) -> typename std::add_lvalue_reference< decltype(*(obj._impl))>::type |
struct giving access to the impl of a befriended class or struct
Definition at line 37 of file Testing.hpp.
|
inlinestatic |
Returns the impl of the obj by reference.
Returns a reference to the object pointed to by the _impl of a class. This class needs to be friend of T.
[in] | obj | The object to fetch the impl from. |
Definition at line 47 of file Testing.hpp.