The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
basic_string.assign
core
stdcpp
string
basic_string
basic_string
assign
(const(T)[] str)
basic_string
assign
(basic_string str)
basic_string
assign
(const(T)[] str)
basic_string
assign
(basic_string str)
basic_string
assign
(const(T)[] str)
struct
basic_string
(T, Traits = char_traits!T, Alloc = allocator!T)
version(!CppRuntime_Microsoft && CppRuntime_Gcc && !_GLIBCXX_USE_CXX98_ABI)
extern (
D
) @
nogc
ref
basic_string
assign
(
const
(
T
)[]
str
)
basic_string
assign
(basic_string str)
basic_string
assign
(const(T)[] str)
basic_string
assign
(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