Skip to content

Commit

Permalink
Update docs for rcpputils::split functions (#188)
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard authored Feb 21, 2024
1 parent 5205833 commit 292be11
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions include/rcpputils/split.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,10 @@ namespace rcpputils
/// @cond
/// Split a specified input into tokens using a delimiter and a type erased insert iterator.
/**
* The returned vector will contain the tokens split from the input
*
* \param[in] input the input string to be split
* \param[in] delim the delimiter used to split the input string
* \param[in] it iterator pointing to a storage container
* \param[in] skip_empty remove empty strings from the return vector
* \param[in] it an insert iterator pointing to a storage container
* \param[in] skip_empty skip empty strings when inserting tokens
*/
template<
class InsertIterator,
Expand Down Expand Up @@ -82,7 +80,7 @@ split(const std::string & input, char delim, InsertIterator & it, bool skip_empt
*
* \param[in] input the input string to be split
* \param[in] delim the delimiter used to split the input string
* \param[in] skip_empty remove empty strings from the return vector
* \param[in] skip_empty remove empty strings from the returned vector
* \return A vector of tokens.
*/
inline std::vector<std::string>
Expand Down

0 comments on commit 292be11

Please sign in to comment.