tlx
Loading...
Searching...
No Matches
index_of.hpp File Reference
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  tlx

Functions

size_t index_of (const std::vector< std::string > &list, const char *str)
 Attempts to find str in the list and return the index.
size_t index_of (const std::vector< std::string > &list, const std::string &str)
 Attempts to find str in the list and return the index.
size_t index_of_icase (const std::vector< std::string > &list, const char *str)
 Attempts to find str in the list and return the index using case-insensitive comparisons.
size_t index_of_icase (const std::vector< std::string > &list, const std::string &str)
 Attempts to find str in the list and return the index using case-insensitive comparisons.