Files
BloomPatched/src/Helpers/FixedString.hpp
2023-09-10 01:18:53 +01:00

15 lines
242 B
C++

#pragma once
#include <cstddef>
#include <algorithm>
template <std::size_t length>
struct FixedString
{
char value[length];
constexpr FixedString(const char (&str)[length]) {
std::copy_n(str, length, this->value);
}
};