Skip to content

std::String::compare<T>

compare<T>

Compares two C-style strings lexicographically

Template Parameters

  • T

Signature

fn <T> fn compare(a: const *T, b: const *T) -> i32;

Specifiers

  • constexpr
  • inline