|
[Flexiblesusy-commits] [FlexibleSUSY/FlexibleSUSY] 4a94f3: Implement operator= by copy-and-swap idiomGitHub noreply at github.comFri Aug 26 19:18:32 BST 2016
Branch: refs/heads/feature-2.0-lambda-ewsb-solvers Home: https://github.com/FlexibleSUSY/FlexibleSUSY Commit: 4a94f34a3cb4b916e7ff5797e44a5ee88ad7ed22 https://github.com/FlexibleSUSY/FlexibleSUSY/commit/4a94f34a3cb4b916e7ff5797e44a5ee88ad7ed22 Author: Alexander Voigt <Alexander.Voigt at desy.de> Date: 2016-08-26 (Fri, 26 Aug 2016) Changed paths: M src/gsl_vector.cpp M src/gsl_vector.hpp Log Message: ----------- Implement operator= by copy-and-swap idiom Commit: eb6145631f7cba9a4da151f3414f9c37ccaca6f3 https://github.com/FlexibleSUSY/FlexibleSUSY/commit/eb6145631f7cba9a4da151f3414f9c37ccaca6f3 Author: Alexander Voigt <Alexander.Voigt at desy.de> Date: 2016-08-26 (Fri, 26 Aug 2016) Changed paths: M src/gsl_vector.cpp M src/gsl_vector.hpp Log Message: ----------- Revert "Implement operator= by copy-and-swap idiom" This reverts commit 4a94f34a3cb4b916e7ff5797e44a5ee88ad7ed22. We don't need the strong exception safety guarantee. The basic one is enough. Rationale: The old implementation was faster if the two vectors had the same size. Commit: a949c834dfdde727f429826e93013889114be3ae https://github.com/FlexibleSUSY/FlexibleSUSY/commit/a949c834dfdde727f429826e93013889114be3ae Author: Alexander Voigt <Alexander.Voigt at desy.de> Date: 2016-08-26 (Fri, 26 Aug 2016) Changed paths: M src/gsl_vector.cpp M test/test_gsl_vector.cpp Log Message: ----------- test move to and from empty vector Compare: https://github.com/FlexibleSUSY/FlexibleSUSY/compare/5fffa02e6887...a949c834dfdd
More information about the Flexiblesusy-commits mailing list |