derferrer is now static struct so it can be included
in different souce files
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct {
|
static struct {
|
||||||
template<typename F>
|
template<typename F>
|
||||||
defer_finalizer<F> operator<<(F && f) {
|
defer_finalizer<F> operator<<(F && f) {
|
||||||
return defer_finalizer<F>(std::forward<F>(f));
|
return defer_finalizer<F>(std::forward<F>(f));
|
||||||
|
|||||||
Reference in New Issue
Block a user