toast/algorithm.hpp File Reference


Detailed Description

This file contains the toast::compare template.

Go to the source code of this file.

Namespaces

namespace  toast

Functions

template<typename T>
int toast::compare (T const &a, T const &b)
 compare two objects
template<typename T, typename Compare>
int toast::compare (T const &a, T const &b, Compare comp)
 compare two objects according to some predicate
template<typename T>
int(*)(T const &, T const &) toast::get_compare ()
 overload disambiguation helper


SourceForge.net Logo