octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation problem with explicit specialization in MArray-?.cc


From: Michael Goffioul
Subject: Re: Compilation problem with explicit specialization in MArray-?.cc
Date: Mon, 10 Nov 2008 12:18:13 +0000

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
<address@hidden> 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.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]