tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.47k stars 409 forks source link

Add has_value to cell_iterator #608

Closed BadSingleton closed 2 years ago

BadSingleton commented 2 years ago

When iterating over a range that doesn't ignore null rows/columns, the operator*() throws when dereferencing an iterator to a null cell. Add has_value() to cell_iterator to be able to make a check without relying on exceptions. And add a test case.