Files
moslab-code/src/l4/pkg/l4re-core/cxx/lib/tl/include/std_ops
2025-09-12 15:55:45 +02:00

26 lines
555 B
C++

// vim:set ft=cpp: -*- Mode: C++ -*-
/*
* (c) 2008-2009 Alexander Warg <warg@os.inf.tu-dresden.de>,
* Torsten Frenzel <frenzel@os.inf.tu-dresden.de>
* economic rights: Technische Universität Dresden (Germany)
*
* License: see LICENSE.spdx (in this directory or the directories above)
*/
#pragma once
namespace cxx {
/**
* \brief Generic comparator class that defaults to the less-than operator.
*/
template< typename Obj >
struct Lt_functor
{
bool operator () (Obj const &l, Obj const &r) const
{ return l < r; }
};
};