On Feb 25, 2016, at 4:05 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote: > > On Feb 25, 2016, at 2:59 PM, Paul Hargrove <phhargr...@lbl.gov> wrote: >> >> Not an error - a new API in C++11 to get number of dimensions in a >> multi-dimensional array. >> http://en.cppreference.com/w/cpp/types/rank > > So you can't have a local variable named "rank" any more? That's... terrible!
Or you could avoid "using namespace std". Or qualify it using "::rank" (I think, my C++ is rusty). -Dave