$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [preprocessor] Is there an equivalent of "delayed expansion"?
From: Mostafa (mostafa_working_away_at_[hidden])
Date: 2013-04-14 05:09:19
Is there an equivalent in boost for delaying the expansion of a macro? For
example, I want EAT to act on TSEQ2, so I have to use trick on line 4.
#define TSEQ2 (w)(x)(y)(z)(a)(b)(c)(d 2)
#define IDENTITY(x) x
#define EAT(x)
IDENTITY(IDENTITY(EAT)TSEQ2)
Thanks,
Mostafa