libcopp
2.3.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
c
d
f
g
h
i
m
o
p
r
s
t
w
y
Variables
_
a
b
c
d
e
f
g
h
l
m
o
p
r
s
t
u
w
x
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
e
l
s
u
Related Symbols
_
d
e
i
l
o
r
s
w
Files
File List
Globals
All
_
b
c
e
g
j
l
m
o
p
r
s
t
u
w
Functions
b
c
g
j
m
o
p
r
s
t
Variables
b
c
g
m
s
t
Typedefs
Enumerations
Enumerator
c
e
Macros
_
c
l
m
s
t
u
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
include
libcopp
utils
uint64_id_allocator.h
Go to the documentation of this file.
1
// Copyright 2023 owent
2
3
#pragma once
4
5
#include <libcopp/utils/config/libcopp_build_features.h>
6
7
// clang-format off
8
#include <
libcopp/utils/config/stl_include_prefix.h
>
// NOLINT(build/include_order)
9
// clang-format on
10
#include <stdint.h>
11
// clang-format off
12
#include <
libcopp/utils/config/stl_include_suffix.h
>
// NOLINT(build/include_order)
13
// clang-format on
14
15
LIBCOPP_COPP_NAMESPACE_BEGIN
16
namespace
util
{
17
class
LIBCOPP_COPP_API
uint64_id_allocator
{
18
public
:
19
using
value_type
= uint64_t;
20
21
static
constexpr
const
value_type
npos = 0;
23
static
value_type
allocate() LIBCOPP_MACRO_NOEXCEPT;
24
static
void
deallocate(
value_type
) LIBCOPP_MACRO_NOEXCEPT;
25
};
17
class
LIBCOPP_COPP_API
uint64_id_allocator
{
…
};
26
}
// namespace util
27
LIBCOPP_COPP_NAMESPACE_END
util::uint64_id_allocator
Definition
uint64_id_allocator.h:17
util::uint64_id_allocator::value_type
uint64_t value_type
Definition
uint64_id_allocator.h:19
util
Definition
atomic_int_type.h:86
stl_include_prefix.h
stl_include_suffix.h
Generated by
1.9.8