L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
capability File Reference

L4::Cap related definitions. More...

#include <l4/sys/consts.h>
#include <l4/sys/types.h>
#include <l4/sys/kobject>
#include <l4/sys/task.h>
#include <l4/sys/meta>
+ Include dependency graph for capability:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  L4
 L4 low-level kernel interface.
 

Macros

#define L4_DISABLE_COPY(_class)
 Disable copy of a class.
 

Functions

template<typename T , typename F >
Cap< T > L4::cap_dynamic_cast (Cap< F > const &c) noexcept
 dynamic_cast for capabilities.
 

Detailed Description

Macro Definition Documentation

◆ L4_DISABLE_COPY

#define L4_DISABLE_COPY (   _class)
Value:
public: \
_class(_class const &) = delete; \
_class operator = (_class const &) = delete; \
private:

Disable copy of a class.

Parameters
_className of the class that shall not have value copy semantics.

The typical use of this is:

class Non_value
{
L4_DISABLE_COPY(Non_value)
...
}
#define L4_DISABLE_COPY(_class)
Disable copy of a class.
Definition capability:62

Definition at line 62 of file capability.