
Thorsten Ottosen wrote:
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?
Oops! I missed that they are namespace level rather than class members. Yes, an "inline" would improve things markedly. -- Martin Bonner Senior Software Engineer/Team Leader PI SHURLOK LTD Telephone: +44 1223 441434 / 203894 (direct) Fax: +44 1223 203999 Email: martin.bonner@pi-shurlok.com www.pi-shurlok.com disclaimer