
10 Mar
2009
10 Mar
'09
1:07 p.m.
Looking briefly, I have 2 comments: 1) The first text is 'Background'. We need some introduction here. An overview of the purpose of the library. 2) """ Modification from std::vector: polynomial<FieldType>& operator=(std::vector<FieldType>& c); This function uses the nested std::vector::swap() function. The c vector should contain new coefficients. """ Does this mean that the vector 'c' is modified? I can't accept this. This really violates the principle of least surprise. Noone expects an operator= to act like that.