tlx
index_of.cpp File Reference
#include <tlx/string/index_of.hpp>
#include <tlx/string/equal_icase.hpp>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 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. More...
 
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. More...
 
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. More...
 
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. More...