octave-maintainers
[Top][All Lists]
Advanced

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

Compilation problem with explicit specialization in MArray-?.cc


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

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]