We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extern "C++"
1 parent 44ef27c commit 59080a2Copy full SHA for 59080a2
include/mlib/delete.h
@@ -29,8 +29,10 @@
29
* and a deletion function for that type. In C, expands to an empty declaration
30
*/
31
#define mlib_assoc_deleter(T, DelFn) \
32
- MLIB_IF_CXX(extern "C++" template <> \
33
- struct mlib::unique_deleter<T> : ::mlib::just_invokes<DelFn>{};) \
+ MLIB_IF_CXX(extern "C++" { \
+ template <> \
34
+ struct mlib::unique_deleter<T> : ::mlib::just_invokes<DelFn> {}; \
35
+ }) \
36
mlib_static_assert(true, "")
37
38
/**
0 commit comments