Boost logo

Boost :

Subject: Re: [boost] [Serialization] this seems wrong
From: Brandon Kohn (blkohn_at_[hidden])
Date: 2008-11-26 12:13:54


--------------------------------------------------
From: "Kenny Riddile" <kfriddile_at_[hidden]>
Sent: Wednesday, November 26, 2008 11:33 AM
To: <boost_at_[hidden]>
Subject: Re: [boost] [Serialization] this seems wrong

> Robert Ramey wrote:
>> Kenny Riddile wrote:
>>> Am I missing something?
>>
>> This is done in order to create unique variable name for static
>> variables which implement export.
>>
>>> Is this fixed in 1.37
>>
>> no.
>>
>> We don't know of any other way to do this. If you do, feel free
>> to implement it.
>>
>> Robert Ramey _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost
>>
>
> Thanks for the quick response and the great library. One solution that
> comes to mind is to use a combination of file name and line number instead
> of just the line number via both the __FILE__ and __LINE__ preprocessor
> directives. Are you aware of any reason why that wouldn't work?

Hi :),

This is the first thing I thought as well.. I think there might be trouble
though if a filename is not constrained to be a valid identifier name.

Brandon
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk