Blitz++ Support,

A while ago one of my students was trying to get the project Blitz-Examples/array to compile in Miscrosoft Visual Studio 2013 (see quoted text below).  In any case, someone recently sent me a patch to help fix the problem (Vince Vigilio).  Itís a fairly easy fix.  I wonder if this could be included in the source?

Thanks,

Brian


Dr. Helenbrook,
 
I recently had the same problem your students did when building Blitz++ with Visual Studio 2013, mentioned here:
 
http://sourceforge.net/mailarchive/message.php?msg_id=31744812
 
I was able to complete the build with the below patch. I have not run any code with it yet, so beware.
 
If this patch is good, Iíd like to see it included in Blitz++. But I no longer participate in their maillists. Youíre welcome to send this in at your convenience.
 
Best,
 
Vince Virgilio
 
 
File: blitz\array\slice.h
51c51,53
<     static const int isValidType = 0, rank = 0, isPick = 0;
---
>     static const int isValidType = 0;
>     static const int rank = 0;
>     static const int isPick = 0;
57c59,62
<     static const int isValidType = 1, rank = 1, isPick = 0;
---
> //    static const int isValidType = 1, rank = 1, isPick = 0;
>     static const int isValidType = 1;
>     static const int rank = 1;
>     static const int isPick = 0;
63c68,70
<     static const int isValidType = 1, rank = 0, isPick = 0;
---
>     static const int isValidType = 1;
>     static const int rank = 0;
>     static const int isPick = 0;
69c76,78
<     static const int isValidType = 1, rank = 0, isPick = 0;
---
>     static const int isValidType = 1;
>     static const int rank = 0;
>     static const int isPick = 0;
 

Blitz++ Support,

One of my students is trying to get the example project Blitz-Examples/array to compile in Miscrosoft Visual Studio 2013   We seem to get stuck on the following error:

error C2955:ístd::rankí use of class template requires template argument list.  File slice.h, line 57.

He is using blitz0.10.  I didnít see anything about this on the mailing list.  I am not a windows person so I may be missing something simple here.  Any help would be appreciated.   The lines in slice.h that are causing the problem is:

template<>
class ArraySectionInfo<Range> {
public:
    static const int isValidType = 1, rank = 1, isPick = 0;
};


Thanks,

Brian