Boost logo

Boost Users :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-12-24 01:18:18


On Dec 24, 2007 2:49 AM, Robert Ramey <ramey_at_[hidden]> wrote:
>
>
> Hmmm - wouldn't this suggest an issue with BOOST_PP_CAT with msvc-8.0 ?

I don't think so.
AFAIK, you should have used BOOST_PP_CAT on the right side argument to
the first BOOST_PP_CAT to have __LINE__ expanded before ## operator.

That's exactly what it is for. To avoid early concatenaton with ##
operator, which you use on the right side argument.

#define BOOST_CLASS_EXPORT_GUID_1(T, K) \

...

    BOOST_PP_CAT(boost_serialization_guid_initializer_,
BOOST_PP_CAT(__LINE__, _1)) \

> Robert Ramey
>
> "Richard Turrin" <richt_at_[hidden]> wrote in message

[snip]

Regards,

-- 
Felipe Magno de Almeida

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