LogDoctor 2.05
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
Loading...
Searching...
No Matches
Functions
VecOps Namespace Reference

VecOps. More...

Functions

template<typename T >
const bool contains (const std::vector< T > &list, const T &flag)
 Checks if a vector contains an element.
 

Detailed Description

VecOps.

Utilities for the vectors

Function Documentation

◆ contains()

template<typename T >
const bool VecOps::contains ( const std::vector< T > &  list,
const T &  flag 
)
inline

Checks if a vector contains an element.

Parameters
listThe target vector
flagThe element to search for
Returns
Whether the list does contain the flag or not