[A] Add function ft_row_count
This commit is contained in:
12
src/fort.hpp
12
src/fort.hpp
@@ -1069,6 +1069,18 @@ public:
|
||||
return ft_is_empty(table_);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get number of rows in the table.
|
||||
*
|
||||
* @return
|
||||
* Number of rows in the table.
|
||||
*/
|
||||
std::size_t
|
||||
row_count() const noexcept
|
||||
{
|
||||
return ft_row_count(table_);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current cell.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user