Compiler may warn if MAX_SIZE value overflows by itself but this checks
gives a more verbose warning.
In addition, the copy constructor was wrong.
Compiler may warn if MAX_SIZE value overflows by itself but this checks
gives a more verbose warning.
In addition, the copy constructor was wrong.
gaisser
changed title from Added a compile time check for MAX_SIZE in FixedArrayList to Added a compile time check in FixedArrayList and fixed copying2020-09-30 13:06:41 +02:00
muellerr
was assigned by gaisser2020-09-30 13:07:15 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Compiler may warn if MAX_SIZE value overflows by itself but this checks
gives a more verbose warning.
In addition, the copy constructor was wrong.
Added a compile time check for MAX_SIZE in FixedArrayListto Added a compile time check in FixedArrayList and fixed copying