AsmGrader
0.0.0
Loading...
Searching...
No Matches
non_terminated_str.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstddef>
4
5
namespace
asmgrader
{
6
7
// A non-null-terminated string for serialization/deserialization
8
template
<std::
size_t
Length>
9
struct
NonTermString
10
{
11
const
char
*
string
{};
12
constexpr
static
auto
LENGTH
= Length;
13
};
14
15
}
// namespace asmgrader
asmgrader
Definition
asm_buffer.hpp:19
asmgrader::NonTermString
Definition
non_terminated_str.hpp:10
asmgrader::NonTermString::LENGTH
static constexpr auto LENGTH
Definition
non_terminated_str.hpp:12
include
asmgrader
subprocess
memory
non_terminated_str.hpp
Generated by
1.12.0