In gcc std::allocator::max_size() is bugged making gcc triggers a warning: eigen/Eigen/src/Core/util/Memory.h:189:12: warning: argument 1 value '18446744073709551612' exceeds maximum object size 9223372036854775807 See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87544
| 985 | // eigen/Eigen/src/Core/util/Memory.h:189:12: warning: argument 1 value '18446744073709551612' exceeds maximum object size 9223372036854775807 |
| 986 | // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87544 |
| 987 | size_type max_size() const { |
| 988 | return (std::numeric_limits<std::ptrdiff_t>::max)()/sizeof(T); |
| 989 | } |
| 990 | #endif |
| 991 | |
| 992 | pointer allocate(size_type num, const void* /*hint*/ = 0) |
nothing calls this directly
no outgoing calls
no test coverage detected