The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
util::detail::contains_impl< Container, Value > Struct Template Reference

A struct that exists to implement a generic wrapper for std::find. More...

#include <util.hpp>

Static Public Member Functions

static bool eval (const Container &container, const Value &value)
 

Detailed Description

template<typename Container, typename Value>
struct util::detail::contains_impl< Container, Value >

A struct that exists to implement a generic wrapper for std::find.

Container should "look like" an STL container of Values.

Definition at line 463 of file util.hpp.

Member Function Documentation

template<typename Container , typename Value >
static bool util::detail::contains_impl< Container, Value >::eval ( const Container &  container,
const Value value 
)
inlinestatic

Definition at line 464 of file util.hpp.

References gui2::event::find().

Referenced by util::contains().


The documentation for this struct was generated from the following file: