Exemple #1
0
void String::push_back(const char &ch)
{
    chk_n_alloc();
    alloc.construct(first_free++, ch);
}
Exemple #2
0
void StrVec::push_back(const std::string& s)
{
    chk_n_alloc();
    alloc.construct(first_free++, s);
}
Exemple #3
0
void StrVec::push_back(string &&s)
{
	chk_n_alloc();
	alloc.construct(first_free++, std::move(s));
}