Tyler Veness
5ac132f6a2
[wpiutil] Make circular buffer classes constexpr ( #7232 )
...
The circular buffer class that uses std::vector internally can be used
in a constant expression as long as it doesn't survive to runtime.
2024-10-20 15:33:40 -07:00
Tyler Veness
ad0859a8c9
[docs] Add missing JavaDocs ( #6125 )
2024-01-01 22:56:23 -08:00
Tyler Veness
a71adef316
[wpiutil] Clean up circular_buffer iterator syntax ( #6020 )
2023-12-08 13:38:56 -08:00
Tyler Veness
42b6d4e3f7
Use defaulted comparison operators in C++ ( #4723 )
...
Comparison operators which compared against every class member variable
now use C++20's default comparison operators.
Also remove operator!= that in C++20 is now auto-generated from operator==.
2022-11-27 21:01:01 -08:00
Tyler Veness
4647d09b50
[docs] Fix Doxygen warnings, add CI docs lint job ( #3639 )
...
The CI docs lint build is configured to fail on Doxygen warnings.
2021-10-14 18:09:38 -07:00
Tyler Veness
82856cf816
[wpiutil] Improve wpi::circular_buffer iterators ( #3410 )
...
The implementation of wpi::circular_buffer has been effectively replaced
with a dynamically sized copy of wpi::static_circular_buffer with a
resize() member function.
2021-06-05 21:08:12 -07:00
Peter Johnson
8f1f64ffb6
Remove year from file copyright message (NFC) ( #2972 )
...
Also update copyright to include "and other WPILib contributors" and clarify
license referral language to not be restricted to FIRST teams.
2020-12-26 14:12:05 -08:00
Tyler Veness
e08c8a1fc9
[wpiutil] Add circular buffer class with static size ( #2542 )
...
This complements wpi::circular_buffer which supports dynamic resizing.
2020-06-29 21:51:05 -07:00