|
FE 0.9.0
Header-only C++ frontend library
|
Join elements of range with sep.
More...
#include <fe/format.h>
Public Types | |
| using | View = std::views::all_t<R> |
Public Member Functions | |
| Join (R &&range, std::string_view sep=", ") | |
| const auto & | range () const |
| std::string_view | sep () const |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Join &j) |
Join elements of range with sep.
Use as a std::format or operator<< argument: std::format("{}", fe::Join(v, ", ")).
| using fe::Join< R >::View = std::views::all_t<R> |
|
inline |
|
inline |
|
inline |
Definition at line 134 of file format.h.
Referenced by Join(), and operator<<.
|
friend |