File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 14
14
15
15
#pragma once
16
16
17
- #include < stdint.h>
18
-
19
17
#include " subspace/fn/callable.h"
20
18
#include " subspace/macros/lifetimebound.h"
21
19
#include " subspace/mem/addressof.h"
Original file line number Diff line number Diff line change @@ -26,12 +26,6 @@ static_assert(INT_MAX == INT32_MAX);
26
26
static_assert (sus::mem::size_of<size_t >() >= 4);
27
27
static_assert (sus::mem::size_of<size_t >() <= 8);
28
28
29
- // FnRef types expect to be able to store function and object pointers in a
30
- // uintptr_t.
31
- static_assert (sus::mem::size_of<void *>() <= sus::mem::size_of<uintptr_t>());
32
- static_assert (sus::mem::size_of<void (*)()>() <=
33
- sus::mem::size_of<uintptr_t>());
34
-
35
29
// TODO: Consider if we should only support little endian? We probably make this
36
30
// assumption. Support for endian *conversion* is still important for network
37
31
// byte order etc.
You can’t perform that action at this time.
0 commit comments