The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
utils::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 <general.hpp>

Static Public Member Functions

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

Detailed Description

template<typename Container>
struct utils::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 55 of file general.hpp.

Member Function Documentation

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

Definition at line 56 of file general.hpp.


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