Boost logo

Boost :

Subject: Re: [boost] [Serialization] this seems wrong
From: Kenny Riddile (kfriddile_at_[hidden])
Date: 2008-11-26 11:33:58


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?


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