aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/misc_language.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/epee/include/misc_language.h')
-rw-r--r--contrib/epee/include/misc_language.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/epee/include/misc_language.h b/contrib/epee/include/misc_language.h
index 7e4eb337d..5f7202150 100644
--- a/contrib/epee/include/misc_language.h
+++ b/contrib/epee/include/misc_language.h
@@ -159,5 +159,10 @@ namespace misc_utils
return slc;
}
+ template<typename T> struct struct_init: T
+ {
+ struct_init(): T{} {}
+ };
+
}
}