pputl  0.2.1
pputl Preprocessor Utilities
Macros
rest.h File Reference

PPUTL_REST - return all passed arguments except for the first More...

#include <pputl/cat.h>

Go to the source code of this file.

Macros

#define PPUTL_REST(...)   PPUTL_DETAIL_REST_X(__VA_ARGS__)
 
#define PPUTL_DETAIL_REST_X(...)   PPUTL_DETAIL_REST_CHOOSER(__VA_OPT__(, ) SIZEY, EMPTY)(__VA_ARGS__)
 
#define PPUTL_DETAIL_REST_CHOOSER(_, choice, ...)   PPUTL_CAT(PPUTL_DETAIL_REST_, choice)
 
#define PPUTL_DETAIL_REST_EMPTY()
 
#define PPUTL_DETAIL_REST_SIZEY(_1, ...)   __VA_ARGS__
 

Detailed Description

PPUTL_REST - return all passed arguments except for the first