Thrill  0.1
index_of.cpp File Reference
#include <tlx/string/index_of.hpp>
#include <tlx/string/equal_icase.hpp>
#include <stdexcept>
+ Include dependency graph for index_of.cpp:

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