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, typename Container::key_type > Struct Template Reference

A struct that exists to implement a generic wrapper for the find() member of associative containers. More...

#include <util.hpp>

Static Public Member Functions

static bool eval (const Container &container, const typename Container::key_type &value)
 

Detailed Description

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

A struct that exists to implement a generic wrapper for the find() member of associative containers.

Container should "look like" an STL associative container.

Definition at line 474 of file util.hpp.

Member Function Documentation

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

Definition at line 475 of file util.hpp.


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