
7 Nov
2007
7 Nov
'07
12:08 p.m.
On 11/7/07, Thorsten Ottosen <thorsten.ottosen@dezide.com> 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