English
This commit is contained in:
parent
bb5f4d5272
commit
4128ede5db
@ -7,7 +7,7 @@ using namespace const_fmt;
|
|||||||
int main() {
|
int main() {
|
||||||
constexpr auto s = "abcdef {:04}"_const_fmt(123);
|
constexpr auto s = "abcdef {:04}"_const_fmt(123);
|
||||||
|
|
||||||
// Convert the s (with a type of 'std::array<char, N>') into something
|
// Convert s (with a type of 'std::array<char, N>') into something
|
||||||
// writable to std::cout
|
// writable to std::cout
|
||||||
std::string_view sv{&s[0], s.size()};
|
std::string_view sv{&s[0], s.size()};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user