nngn
Loading...
Searching...
No Matches
string.h
Go to the documentation of this file.
1#ifndef NNGN_UTILS_STRING_H
2#define NNGN_UTILS_STRING_H
3
4#include <sstream>
5#include <string>
6
7#include "utils.h"
8
9namespace nngn {
10
11std::string fmt(auto &&...args) {
12 std::stringstream s = {};
13 (s << ... << FWD(args));
14 return s.str();
15}
16
17}
18
19#endif
std::chrono::seconds s
Definition: timing.cpp:6
#define FWD(...)
Definition: utils.h:18
Definition: audio.cpp:7
std::string fmt(auto &&...args)
Definition: string.h:11