David Chamont

Results 15 comments of David Chamont

If you allow the implicit conversion, for each operator, on eonly need to implement the version (Fraction const &, Fraction const &), and there is no need to implement (Fraction...

Also, if performance is the aim, I feel that implementing >= reusing > and == is not always optimal ;) To be checked, I did not dig this. And I...

> I also barely see any races on WSL. Maybe we can increase some of the loop counts to make this happen more often. > > Also: there is barely...

We could make the loops size som runtime arguments to the exetucable, and the first of the exercise may be for the student to move up the numbers on their...

+1 Also, I was wondering how this behave with negative numbers ? (especially operator

I rather think that using the type `double[]` in the exercises, with the unusual way to use `make_unique/shared`, and the use of array addresse together with "address+size", instead of begin()...

I generally use `valarray` in such a case, as a replacement for the stillborn gsl::dyn_array... but I understand that some developers dislike `std::valarray`.

+1. NVector is uselessly complete. On the other hand, one can wonder why we shuffle the global std::vector, which only contains empty NVectors... The exercise has probably a long history,...

I fully support the idea that STL "semantic" is now too old-school. If one wants to keep something focus on the subset corresponding the former STL, which stays a meaningful...