|
Boost : |
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-11-07 07:08:38
On 11/7/07, Thorsten Ottosen <thorsten.ottosen_at_[hidden]> wrote:
> Felipe Magno de Almeida skrev:
> > This gives multiple definition errors when #include'd by more than one
> > translation unit.
> >
> > namespace boost
> > {
> > namespace ptr_container_detail
> > {
> > const char* count = "count";
> > const char* item = "item";
> > const char* first = "first";
> > const char* second = "second";
> > }
> > }
>
> Thanks. Is there an easy way to fix it?
I couldn't think of anything that wouldn't cause ODR violation.
>
> -Thorsten
-- Felipe Magno de Almeida
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk