$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-08-22 23:10:56
[2002-08-23] Michael Stevens wrote:
>// explict.hpp Class with explict specialization
>template <class T>
>struct TC {
>};
>
>template <>
>struct TC<int> {
> void f2(); // Decleration of class template
>specialisation member function
>};
>
>void TC<int>::f2() // Definintion of class template specialisation
>member function
>{}
Shouldn't that be:
template <> void TC<int>::f2() { }
???
Have you considered/tried moving the:
template <> struct TC<int> ...
To the definition file? With the caveat that you would have to place
declarations for the methods in the "template <class T> struct TC { };"
You are talking about 2 files here, right?
-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]