Angus Leeming <[EMAIL PROTECTED]> writes:

| Lars, I think you should enable that static_assert in the unspecialised 
| convert function. I'm getting link errors here on a 64 bit machine:

No... this is as intended. (and the static assert does not work on gcc 4)


Now we just have to add specialization for the missing functions.

>
| 
(support/.libstabular.o(.text+0x554):/usr/include/c++/3.3/bits/vector.tcc:150: 
| undefined reference to `std::basic_string<char, std::char_traits<char>, 
| std::allocator<char> > convert<std::basic_string<char, 
| std::char_traits<char>, std::allocator<char> >, unsigned long>(unsigned 
| long)'

Put this in convert.C:

template <>
string convert<string>(unsigned long)
{
        return lexical_cast<string>(ul);
}

-- 
        Lgb

Reply via email to