Skip to content

std::String::copy_n<T>

copy_n<T>

Copies a C-style string with maximum count

Template Parameters

  • T

Signature

fn copy_n(dest: *T, src: const *T, n: usize) -> *T requires <T>;

Specifiers

  • constexpr
  • inline