The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
basic_string.swap
core
stdcpp
string
basic_string
void
swap
(basic_string _Right)
struct
basic_string
(T, Traits = char_traits!T, Alloc = allocator!T)
version(CppRuntime_Microsoft)
extern (
D
) @
nogc
void
swap
(
ref
basic_string
_Right
)
void
swap
(basic_string __s)
void
swap
(basic_string __s)
void
swap
(basic_string __str)
Meta
Source
See Implementation
core
stdcpp
string
basic_string
aliases
allocator_type
const_pointer
difference_type
length
opDollar
pointer
size_type
toString
traits_type
value_type
constructors
this
destructors
~this
functions
append
as_array
assign
at
back
c_str
capacity
clear
data
empty
erase
front
get_allocator
insert
max_size
opAssign
opCmp
opEquals
opIndex
opIndexAssign
opIndexOpAssign
opOpAssign
opSlice
pop_back
push_back
replace
reserve
resize
shrink_to_fit
size
swap
toHash
postblits
this(this)
variables
npos