Boost logo

Boost Users :

From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-07-11 12:49:27


----- Original Message -----
From: "JOAQUIN M. LOPEZ MUÑOZ" <joaquin_at_[hidden]>
To: <boost-users_at_[hidden]>
Sent: Friday, July 11, 2008 4:58 PM
Subject: Re: [Boost-users] [preporcessor]Can we use BOOST_PP_SEQ_FOLD_LEFT
on sequences with one element?

<snip>

  #define XX_SEQ_TO_QNAME(S) BOOST_PP_IF(XX_SIZE_GREATER_THAN_1(S)\
      , XX_SEQ_TO_QNAME_N \
     , XX_SEQ_TO_QNAME_1)(S)

Hope this helps,

--
Thanks Joaquin,
this works now.
Vicente 

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net