smgl 0.11.0
Structured Metadata Engine and Graph Objects Library
Loading...
Searching...
No Matches
Utilities.hpp
Go to the documentation of this file.
1#pragma once
2
5#include <string>
6
7namespace smgl
8{
9
11template <class Obj, class ObjMemberFn, typename... Args>
12auto WrapFunc(Obj* obj, ObjMemberFn&& fn, Args&&... args);
13
14namespace detail
15{
16
37struct ExpandType {
39 template <typename... T>
40 explicit ExpandType(T&&...);
41};
42
43} // namespace detail
44} // namespace smgl
45
46#include "smgl/UtilitiesImpl.hpp"
Project top-level namespace.
auto WrapFunc(Obj *obj, ObjMemberFn &&fn, Args &&... args)
Wrap a member function w/ arguments into a lambda function.
Helper class for calling function iteratively on parameter pack.
Definition Utilities.hpp:37