Drew Rife 11623e6862
Implement clamped_value utility (#1565)
* feat: add clamped_value utility

* style: format clamped_value include list

* feat: enhance clamped_value with runtime bounds and comparison operators and DRY up the implementation

* refactor: call set in runtime ctor

instead of duplicated the clamping logic

* Add C++20 floating-point clamped_value support

* Document and stress clamped_value edge cases

* Change ETL_NOEXCEPT_IF(ETL_NOT_USING_EXCEPTIONS) to ETL_NOEXCEPT

* Change ETL_NOEXCEPT_IF(ETL_NOT_USING_EXCEPTIONS) to ETL_NOEXCEPT

* Revert changes

---------

Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2026-09-08 10:21:33 +01:00
..
etl_initialiser_list Convert the Visual Studio project to VS2022 2023-03-07 20:24:01 +00:00
.gitignore Convert the Visual Studio project to VS2022 2023-03-07 20:24:01 +00:00
cpp.hint Added constexpr. Removed some member functions. Removed 'move' member functions for etl::not_null<etl::unique_ptr<T, TDeleter>> 2025-08-18 16:51:49 +01:00
delegate.natvis Delete project navis files 2025-09-11 18:21:10 +01:00
etl_solution_suppressions.cfg Updates to chrono classes 2025-04-18 10:50:48 +01:00
etl.sln Fixes to GCC -O2 errors 2025-09-02 13:51:45 +01:00
etl.vcxproj Implement clamped_value utility (#1565) 2026-09-08 10:21:33 +01:00
etl.vcxproj.filters Implement clamped_value utility (#1565) 2026-09-08 10:21:33 +01:00
io_port.natvis Refactored etl::io_port classes 2024-07-28 16:51:02 +01:00