Compilation problem with explicit specialization in MArray-?.cc

Michael Goffioul michael.goffioul at gmail.com
Mon Nov 10 06:09:36 CST 2008


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