Remove M_IF_DEFAULT1 from documentation
This commit is contained in:
1 parent
8c01acb8d2
commit
379d555d35
2 files changed
+2
-14
No files matched your search
@@ -6294,20 +6294,6 @@ Return the pre-processing token 'action\_if\_two\_arg' if 'argslist' has two arg
|
||||
Return the pre-processing token 'action' if the build is compiled in debug mode
|
||||
(i.e. NDEBUG is undefined).
|
||||
|
||||
##### M\_IF\_DEFAULT1(default\_value, argumentlist)
|
||||
|
||||
Helper macro to redefine a function with a default value.
|
||||
If there is only one variable as the argument list, print
|
||||
the variable of the argument list then ', value',
|
||||
instead only print the argument list (and so two arguments).
|
||||
|
||||
int f(int a, int b);
|
||||
#define f(...) M_APPLY(f, M_IF_DEFAULT1(0, __VA_ARGS__))
|
||||
|
||||
This need to be called within a M\_APPLY macro.
|
||||
|
||||
Experimental macro. It may disappear or change in a broken way.
|
||||
|
||||
##### M\_DEFAULT\_ARGS(nbExpectedArg, (defaultArgumentlist), argumentList )
|
||||
|
||||
Helper macro to redefine a function with one or more default values.
|
||||
|
||||
@@ -74,3 +74,5 @@ V0.5.*: * M_INVERT is renamed into M_REVERSE to be more coherent with the REVERS
|
||||
* Rename GET_SET_KEY operator in SAFE_GET_KEY operator.
|
||||
|
||||
V0.6.*: * Rename M_DEFAULT_OPLIST in M_BASIC_OPLIST
|
||||
* Remove experimental macro M_IF_DEFAULT1.
|
||||
|
||||
Reference in new issue
Block a user