|
Boost : |
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-11-07 11:03:25
Martin Bonner skrev:
>>> 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?
>>
>> -Thorsten
>
> One option would be:
> namespace ptr_container_detail
> {
> const char* count() { return "count"; }
with an "inline" in front of each function, I presume?
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk