Talk:cpp/numeric/valarray
From cppreference.com
< Talk:cpp
One question about:
"Most C++ standard library implementations use expression templates to implement efficient operations on std::valarray, with rare exceptions ..."
Is this true (e.g. for MSVC)?
134.76.223.3 06:52, 10 August 2012 (PDT)
- Good question, I wrote most, but I only checked GNU's lihbstdc++ and LLVM's libc++. I don't have access to MSVC, but looks like IBM and Sun's libraries (based on Dinkumware and STLport, repesectively) return temporaries, for shame. Changed to be explicit on who implemented what. --Cubbi 08:07, 10 August 2012 (PDT)