Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
aligned.hpp
Go to the documentation of this file.
1
#pragma once
2
namespace
fc
{
3
4
template
<
unsigned
int
S,
typename
T=
double
>
5
struct
aligned
{
6
union
{
7
T
_align
;
8
char
_data
[
S
];
9
}
_store
;
10
operator
char
*() {
return
_store
._data; }
11
operator
const
char
*()
const
{
return
_store
._data; }
12
};
13
14
}
fc
namespace sysio::chain
Definition
authority.cpp:3
S
#define S(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
Definition
precomputed_ecmult.c:12
T
#define T(meth, val, expected)
fc::aligned
Definition
aligned.hpp:5
fc::aligned::_align
T _align
Definition
aligned.hpp:7
fc::aligned::_data
char _data[S]
Definition
aligned.hpp:8
fc::aligned::_store
union fc::aligned::@5 _store
libraries
fc
include
fc
aligned.hpp
Generated by
1.12.0