A
Arne Schmitz
Hi!
I get a mysterious linker error:
undefined reference to `Matrix<float>:perator()(unsigned, unsigned)'
And I do not know why. I've got the following two operators defined and
declared:
T& operator()(size_t x, size_t y);
T operator()(size_t x, size_t y) const;
The library also gets linked to the executable, but the linking fails
anyway. Why? I thought size_t and unsigned are synonymous?
In my program code I use something like this:
Matrix<float> m; ...
m(i,j) = 1.0f;
Any ideas?
Arne
I get a mysterious linker error:
undefined reference to `Matrix<float>:perator()(unsigned, unsigned)'
And I do not know why. I've got the following two operators defined and
declared:
T& operator()(size_t x, size_t y);
T operator()(size_t x, size_t y) const;
The library also gets linked to the executable, but the linking fails
anyway. Why? I thought size_t and unsigned are synonymous?
In my program code I use something like this:
Matrix<float> m; ...
m(i,j) = 1.0f;
Any ideas?
Arne