$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] BOOST_PP_ENUM_z
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-05-17 13:39:16
On 5/17/2011 12:46 PM, er wrote:
> Could someone please help clarify the meaning of the _z extension?
>
> In what situation should one use BOOST_PP_ENUM_z rather than BOOST_PP_ENUM?
It is never necessary to use BOOST_PP_ENUM_z instead of BOOST_PP_ENUM.
It is only helpful, in the sense of being faster, if you use
BOOST_PP_ENUM_z instead of BOOST_PP_ENUM from within in a pp-lib ternary
macro of the form macro(z, n, data), where you can use the z parameter
to call it using BOOST_PP_ENUM_ ## z(parameters).