Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • tnl-dev tnl-dev
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • TNL
  • tnl-devtnl-dev
  • Issues
  • #90

Closed
Open
Created Aug 02, 2021 by Jakub Klinkovský@klinkovskyOwner

Refactor contains and containsOnlyValue

  • contains should be changed to find (c.f. std::find)
  • containsOnlyValue should be generalized to have similar interface like std::all_of, std::any_of, std::none_of: https://en.cppreference.com/w/cpp/algorithm/all_any_none_of
  • maybe we should add operator== for comparing an array/vector with a scalar/ValueType
Edited Aug 02, 2021 by Jakub Klinkovský
Assignee
Assign to
Time tracking