Skip to content

Handle new C++20 contains() method in cstr and cview classes #223

Description

Description:

The ttlib::cstr and ttlib::cview class both have a contains() method that defaults to case-sensitive. That means it is effectively identical to the new C++20 method. The rest of the method is still valuable since it supports both case-insensitive and a utf8 comparison, but the primary declaration should be conditionalized to use the std:: version for case-sensitive comparisons.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Design ChangeUnderlying design may need changing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions