Re: Problems designing my vectorized math library

Originally Posted by
Chris_F
Try it for yourself. Make a std:vector of __m128 and try to push one back if you don't believe me.
Well, I removed the parentheses, and this compiles and works.
Code:
#include <vector>
using namespace std;
#include <xmmintrin.h>
int main()
{
vector<__m128> myVector;
__m128 a = _mm_set_ps1(0);
myVector.push_back(a);
}
"It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
Richard P. Feynman