Skip to content

Implement method CppStringT::contains() #182

Closed

Description

@schmouk

This is an equivalent of the Python operator in.
Notice: This method is available in c++23 :

constexpr bool
contains( std::basic_string_view<CharT,Traits> sv ) const noexcept; (1) 	(since[ C++](https://en.cppreference.com/w/cpp)23)

constexpr bool
contains( CharT ch ) const noexcept; (2) 	(since C++23)

constexpr bool
contains( const CharT* s ) const; (3) 	(since C++23)

Activity

  1. self-assigned this
    on Mar 20, 2023
  2. moved this to Todo in cpp-stringson Mar 20, 2023
  3. moved this from Todo to In Progress in cpp-stringson Jul 11, 2025
  4. schmouk commented on Jul 11, 2025

    @schmouk
    OwnerAuthor

    Completed. Validated.

  5. moved this from In Progress to Done in cpp-stringson Jul 11, 2025
  6. added a commit that references this issue on Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions