Luna::BasicString::BasicString

BasicString(usize count, value_type ch, const allocator_type &alloc=allocator_type())

Constructs one string using count copies of character ch.

Parameters

  • in count

    The number of characters to add to the string.

  • in ch

    The character to copy.

  • in alloc

    The allocator to use. The allocator object will be copy-constructed into the map.