L4Re Operating System Framework
Interface and Usage Documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
std_ops
1// vim:set ft=cpp: -*- Mode: C++ -*-
2/*
3 * (c) 2008-2009 Alexander Warg <warg@os.inf.tu-dresden.de>,
4 * Torsten Frenzel <frenzel@os.inf.tu-dresden.de>
5 * economic rights: Technische Universität Dresden (Germany)
6 *
7 * License: see LICENSE.spdx (in this directory or the directories above)
8 */
9
10#pragma once
11
12namespace cxx {
13
17template< typename Obj >
19{
20 bool operator () (Obj const &l, Obj const &r) const
21 { return l < r; }
22};
23
24};
25
Our C++ library.
Definition arith:11
Generic comparator class that defaults to the less-than operator.
Definition std_ops:19