Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26f12fa

Browse files
committed
Remove unused array_view.empty method
1 parent aa9353c commit 26f12fa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/numpy_cpp.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,11 +519,6 @@ class array_view : public detail::array_view_accessors<array_view, T, ND>
519519
}
520520
}
521521

522-
bool empty() const
523-
{
524-
return size() == 0;
525-
}
526-
527522
// Do not use this for array_view<bool, ND>. See comment near top of file.
528523
const T *data() const
529524
{

0 commit comments

Comments
 (0)