L4Re - L4 Runtime Environment
|
Namespaces | |
cxx | |
Our C++ library. | |
Data Structures | |
class | L4::Alloc_list |
A simple list-based allocator. More... | |
class | cxx::Auto_ptr< T > |
Smart pointer with automatic deletion. More... | |
class | cxx::Bitmap_base |
Basic bitmap abstraction. More... | |
class | cxx::Bitmap< BITS > |
A static bit map. More... | |
class | cxx::List_item |
Basic list item. More... | |
struct | cxx::Pair< First, Second > |
Pair of two values. More... | |
class | cxx::Base_slab< Obj_size, Slab_size, Max_free, Alloc > |
Basic slab allocator. More... | |
class | cxx::Slab< Type, Slab_size, Max_free, Alloc > |
Slab allocator for object of type Type. More... | |
class | cxx::Base_slab_static< Obj_size, Slab_size, Max_free, Alloc > |
Merged slab allocator (allocators for objects of the same size are merged together). More... | |
class | cxx::Slab_static< Type, Slab_size, Max_free, Alloc > |
Merged slab allocator (allocators for objects of the same size are merged together). More... | |
class | cxx::Nothrow |
Helper type to distinguish the oeprator new version that does not throw exceptions. More... | |
class | cxx::New_allocator< _Type > |
Standard allocator based on operator new () . More... | |
class | L4::String |
A null-terminated string container class. More... | |
Functions | |
template<typename T1 > | |
T1 | cxx::min (T1 a, T1 b) |
Get the minimum of a and b. More... | |
template<typename T1 > | |
T1 | cxx::max (T1 a, T1 b) |
Get the maximum of a and b. More... | |
void * | operator new (size_t, void *mem, cxx::Nothrow const &) throw () |
Simple placement new operator. More... | |
void * | operator new (size_t, cxx::Nothrow const &) throw () |
New operator that does not throw exceptions. | |
|
inline |
Get the maximum of a and b.
a | the first value. |
b | the second value. |
Definition at line 46 of file minmax.
Referenced by cxx::List_alloc::alloc_max(), L4virtio::Svr::Data_buffer::copy_to(), L4::Scheduler::info(), L4virtio::Svr::Driver_mem_list_t< Ds_data >::init(), cxx::List_alloc::List_alloc(), and L4::Type_info::Demand::operator|().
|
inline |
Get the minimum of a and b.
a | the first value. |
b | the second value. |
Definition at line 35 of file minmax.
Referenced by L4virtio::Svr::Data_buffer::copy_to(), cxx::List_alloc::List_alloc(), operator>>(), L4virtio::Svr::Data_buffer::skip(), and cxx::String::substr().
|
inline |