Compilation problem with explicit specialization in MArray-?.cc
Michael Goffioul
michael.goffioul at gmail.com
Mon Nov 10 06:18:13 CST 2008
Declaring the specialization before including CColVector.h
seems to work fine. Once I get octave compiled with MSVC,
I'll come with a complete patch for MSVC compilation.
Michael.
On Mon, Nov 10, 2008 at 12:09 PM, Michael Goffioul
<michael.goffioul at gmail.com> wrote:
> It looks like MSVC does not want to have explicit specialization
> after a template has already been instantiated. For instance in
> MArray-C.cc, the inclusion of CColVector.h instantiates
> MArray<Complex>, and then MArray<Complex>::norm is
> specialized afterwards. This does not work with MSVC.
> Does gcc allow this? Might this be a problem with other
> compilers?
>
> Michael.
>
More information about the Octave-maintainers
mailing list