smgl
0.11.0
Structured Metadata Engine and Graph Objects Library
Loading...
Searching...
No Matches
smgl
UtilitiesImpl.hpp
1
namespace
smgl
2
{
3
4
template
<
class
Obj,
class
ObjMemberFn,
typename
... Args>
5
auto
WrapFunc
(Obj* obj, ObjMemberFn&& fn, Args&&... args)
6
{
7
return
[=]() {
return
(*obj.*fn)(args...); };
8
}
9
10
namespace
detail
11
{
12
template
<
typename
... T>
13
ExpandType::ExpandType
(T&&...)
14
{
15
}
16
17
}
// namespace detail
18
}
// namespace smgl
smgl
Project top-level namespace.
smgl::WrapFunc
auto WrapFunc(Obj *obj, ObjMemberFn &&fn, Args &&... args)
Wrap a member function w/ arguments into a lambda function.
Definition
UtilitiesImpl.hpp:5
smgl::detail::ExpandType::ExpandType
ExpandType(T &&...)
Definition
UtilitiesImpl.hpp:13
Generated by
1.9.8