tanya ~master (2021-06-04T07:37:50Z)
Dub
Repo
Set.insert
tanya
container
set
Set
Inserts a new element.
size_t
insert
(T value)
struct
Set
(T, alias hasher = hash)
size_t
insert
()
(
ref
T
value
)
if
(
isHashFunction
!(
hasher
,
T
)
)
size_t
insert
(T value)
size_t
insert
(R range)
Parameters
value
T
Element value.
Return Value
Type:
size_t
Amount of new elements inserted.
Meta
Source
See Implementation
tanya
container
set
Set
aliases
ConstRange
Range
constructors
this
functions
clear
insert
opAssign
opBinaryRight
opIndex
rehash
remove
properties
allocator
bucketCount
capacity
empty
length
variables
maxBucketCount
Inserts a new element.