xoreos  0.0.5
Classes | Namespaces | Functions
binsearch.h File Reference

Simple utility template for searching through static const maps. More...

#include <cstddef>
Include dependency graph for binsearch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Common::BinSearchValue< TK, TV >
 Struct template for a generic searchable key/value pair. More...
 

Namespaces

 Common
 

Functions

template<typename TK , typename TV >
const BinSearchValue< TK, TV > * Common::binarySearch (const BinSearchValue< TK, TV > *map, size_t size, const TK &value)
 Search through this sorted list of key/value pairs. More...
 

Detailed Description

Simple utility template for searching through static const maps.

Definition in file binsearch.h.