[C] Modified examples

This commit is contained in:
seleznevae
2018-08-09 22:15:05 +03:00
parent 694005845a
commit 1873309019
4 changed files with 248 additions and 40 deletions

View File

@@ -297,6 +297,27 @@ public:
#endif /* __cpp_variadic_templates */
template <typename InputIt>
bool row_write(InputIt first, InputIt last)
{
while (first != last) {
*this << *first;
++first;
}
return true;
}
template <typename InputIt>
bool row_write_ln(InputIt first, InputIt last)
{
while (first != last) {
*this << *first;
++first;
}
ft_ln(table);
return true;
}
/**
* Set min width for the specified cell of the table.
*