| Home | Libraries | People | FAQ | More

##### basic_static_string::starts_with (1 of 3 overloads)

Return whether the string begins with a string.

###### Synopsis

    template<
        typename T>
    constexpr bool
    starts_with(
        T const& t) const noexcept;

###### Description

Returns `true` if the string begins with `s`, and `false` otherwise.

###### Complexity

Linear.

###### Parameters

Name | Description
--- | ---
`t` | The string view to check for.