$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Preprocessor] ternary identity macro
From: Sebastian Pfützner (s.pfuetzner_at_[hidden])
Date: 2012-04-24 07:41:40
Hello,
I often write something like
#define TEXT(z, n, data) data
BOOST_PP_ENUM(5, TEXT, xxx)
in my code to create a comma separated list of words. Is there already a macro
like TEXT in boost? Or is there a even better way to do what I want?
Thanks in advance