LogDoctor/docs/html/namespaceVecOps.html

6.1 KiB

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> </head>
LogDoctor 4.00
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
Loading...
Searching...
No Matches
VecOps Namespace Reference

VecOps. More...

Functions

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

Detailed Description

VecOps.

Utilities for the vectors

Function Documentation

◆ contains()

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

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

Generated by doxygen 1.10.0 </html>