I'm echoing the same problem described back in March 2013:

https://sourceforge.net/p/blitz/mailman/message/30586549/

Except, I'm using VS 2013 (MSVC 12).

Also, in compiling just the declarations for A and B in that code (rest of code elided), MSVC 12 issues warnings C4244 (const blitz::diffType to int) and C4267 (const blitz::diffType to blitz::Range::T_numtype).

Vince