diff --git a/doc/changelog.dox b/doc/changelog.dox index 4761fd26a..219dc65f2 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -59,6 +59,9 @@ See also: - Support for using the @ref Math::Deg, @ref Math::Rad, @ref Math::Half, @ref Math::Color3 and @ref Math::Color4 literals with the new experimental @ref Corrade::Utility::Tweakable utility. See also @ref tweakableliterals. +- New @ref Math::StrictWeakOrdering functor making it possible to use Magnum + math types as keys in ordered STL containers such as @ref std::map or + @ref std::set @subsubsection changelog-latest-new-platform Platform libraries diff --git a/doc/credits.dox b/doc/credits.dox index 8eb8078b5..2070f4fcc 100644 --- a/doc/credits.dox +++ b/doc/credits.dox @@ -95,6 +95,8 @@ Are the below lists missing your name or something's wrong? - **Bill Robinson** ([\@wivlaro](https://github.com/wivlaroú) --- numerous bug reports, macOS fixes, feature improvements - **[\@biosek](https://github.com/biosek)** --- documentation fixes +- **Borislav Stanimirov** ([\@iboB](https://github.com/iboB)) --- strict + weak ordering for @ref Math types - **Denis Igorevich Lobanov** ([\@denislobanov](https://github.com/denislobanov)) --- math fixes - **[\@dlardi](https://github.com/dlardi)** --- WGL-related bugfixes diff --git a/src/Magnum/Math/StrictWeakOrdering.h b/src/Magnum/Math/StrictWeakOrdering.h index ce234c88c..202d9963e 100644 --- a/src/Magnum/Math/StrictWeakOrdering.h +++ b/src/Magnum/Math/StrictWeakOrdering.h @@ -5,6 +5,7 @@ Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Vladimír Vondruš + Copyright © 2018 Borislav Stanimirov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/src/Magnum/Math/Test/StrictWeakOrderingTest.cpp b/src/Magnum/Math/Test/StrictWeakOrderingTest.cpp index d66f406f7..2d0993c31 100644 --- a/src/Magnum/Math/Test/StrictWeakOrderingTest.cpp +++ b/src/Magnum/Math/Test/StrictWeakOrderingTest.cpp @@ -3,6 +3,7 @@ Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Vladimír Vondruš + Copyright © 2018 Borislav Stanimirov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),