Changed includes; Implemented std::pair and std::make_unsigned; changed usage of std::memcpy to memcpy

This commit is contained in:
2022-02-23 19:45:17 +01:00
parent 5ba1723295
commit ea722ec5bf
7 changed files with 221 additions and 137 deletions

View File

@@ -1,6 +1,8 @@
#define CONST_FMT_NO_CPP_STDLIB
#include <const_fmt/format.h>
#include <iostream>
#include <string_view>
//#include <iostream>
//#include <string_view>
using namespace const_fmt;
@@ -9,9 +11,9 @@ int main() {
// Convert s (with a type of 'std::array<char, N>') into something
// writable to std::cout
std::string_view sv{&s[0], s.size()};
std::cout << sv << std::endl;
// std::string_view sv{&s[0], s.size()};
//
// std::cout << sv << std::endl;
return 0;
}