xtd 0.2.0
Loading...
Searching...
No Matches

◆ add_last_arg_to_command_

#define add_last_arg_to_command_ (   command,
  last_arg,
  ... 
)

#include <xtd.core/include/xtd/add_last_arg_to_command.h>

Adds last argument to a command with variadic arguments.

Parameters
commandThe variadic arguments command.
last_argThe last argument to add to variadic arguments
...Variadic arguments.
Header
#include <xtd/add_last_arg_to_command>
Library
xtd.core
Remarks
This macro is use specifically for add current stack frame to but not only.
Warning
The variadic arguments is limited to maximum 10 arguments.
See also
assert_ or cassert_ macro for example of use.