Contents
Syntax
The syntax for
vjoin{options}(std::vector, string) vjoin{options}(std::vector, string, begin) vjoin{options}(std::vector, string, begin, end)
@vjoin{options}(std::vector, string) @vjoin{options}(std::vector, string, begin) @vjoin{options}(std::vector, string, begin, end)
Description
The
Options
The following options are available for
option | description |
---|---|
add separator at beginning | |
add separator at end | |
add separator at both beginning and end | |
do not round values of type |
|
option | description |
f++ example
Examples of
- std::vector<string> v
- v.push_back("cat")
- v.push_back("dog")
- console('{vjoin(v, ", ")}')
n++ example
Example of
- @std::vector<string>(v)
- @v.push_back("cat")
- @v.push_back("dog")
- @console('{vjoin(v, ", ")}')