◐ Shell
clean mode source ↗

Function objects – cppreference.com

Aus cppreference.com

(Weitergeleitet von cpp/functional)

A-Funktion Objekt ist jedes Objekt, für das die Funktionsaufrufoperator definiert ist. C + + bietet viele eingebaute Funktion Objekte sowie die Unterstützung für die Erstellung und Bearbeitung von neuen Funktion Objekte .

Original:

A function object is any object for which the function call operator is defined. C++ provides many built-in function objects as well as support for creation and manipulation of new function objects.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Polymorphe Funktion Wrapper

std::function bietet Unterstützung für das Speichern beliebige Funktion Objekte .

Original:

std::function provides support for storing arbitrary function objects.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

wickelt aufrufbare Objekt eines beliebigen Typs mit dem angegebenen Funktion Call-Signatur

Original:

wraps callable object of any type with specified function call signature

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

erzeugt ein Funktionsobjekt aus dem Zeiger auf einen Member
(Funktions-Template) [edit]
Ausnahme, die beim Aufruf einer leeren std::function ausgelöst wird
(Klasse) [edit]

Binden

std::bind bietet Unterstützung für Teilfunktion Anwendung, dh verbindliche Argumente an Funktionen erzeugen neue Funktionen .

Original:

std::bind provides support for Teilfunktion Anwendung, i.e. binding arguments to functions to produce new functions.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

bindet ein oder mehrere Argumente an eine Funktion Objekt

Original:

binds one or more arguments to a function object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]

zeigt an, dass ein Objekt std::bind Ausdruck ist oder wie ein eingesetzt werden

Original:

indicates that an object is std::bind expression or can be used as one

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

zeigt an, dass ein Objekt ein Standard Platzhalter ist oder wie ein eingesetzt werden

Original:

indicates that an object is a standard placeholder or can be used as one

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

definiert in Namensraum std::placeholders

Platzhalter für den ungebundenen Argumente in einer std::bind Ausdruck

Original:

placeholders for the unbound arguments in a std::bind expression

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(konstanten) [edit]

Referenz Wrapper

Referenz Wrapper erlaubt Verweisargumente in copyable Funktion Objekte gespeichert werden:

Original:

Reference wrappers allow reference arguments to be stored in copyable function objects:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Function-Objekte

C + + definiert mehrere Funktions-Objekte, die gemeinsame arithmetische und logische Operationen darstellen:

Original:

C++ defines several function objects that represent common arithmetic and logical operations:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Arithmetische Operationen

Original:

Arithmetic operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Funktions-Objekt Umsetzung x + y

Original:

function object implementing x + y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x - y

Original:

function object implementing x - y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x * y

Original:

function object implementing x * y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x / y

Original:

function object implementing x / y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x % y

Original:

function object implementing x % y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung -x

Original:

function object implementing -x

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Vergleiche

Original:

Comparisons

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Funktions-Objekt Umsetzung x == y

Original:

function object implementing x == y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x != y

Original:

function object implementing x != y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x > y

Original:

function object implementing x > y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x < y

Original:

function object implementing x < y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x >= y

Original:

function object implementing x >= y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x <= y

Original:

function object implementing x <= y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Logische Operationen

Original:

Logical operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Funktions-Objekt Umsetzung x && y

Original:

function object implementing x && y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x || y

Original:

function object implementing x || y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung !x

Original:

function object implementing !x

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Bitweise Operationen

Original:

Bitwise operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Funktions-Objekt Umsetzung x & y

Original:

function object implementing x & y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x | y

Original:

function object implementing x | y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Funktions-Objekt Umsetzung x ^ y

Original:

function object implementing x ^ y

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Verneiner

Original:

Negators

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Wrapper-Funktion Objekt wieder das Komplement des unären Prädikat es hält

Original:

wrapper function object returning the complement of the unary predicate it holds

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Wrapper-Funktion Objekt wieder das Komplement der binären Prädikats es hält

Original:

wrapper function object returning the complement of the binary predicate it holds

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

baut kundenspezifische std::unary_negate Objekt

Original:

constructs custom std::unary_negate object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]

baut kundenspezifische std::binary_negate Objekt

Original:

constructs custom std::binary_negate object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]

Veraltet in C + +11

Mehrere Programme, die frühe funktionelle Unterstützung vorgesehen sind, in C + 11 veraltet:

Original:

Several utilities that provided early functional support are deprecated in C++11:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Base

Original:

Base

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(veraltet)

Adapter kompatibel einstellige Funktion Basisklasse

Original:

adaptor-compatible unary function base class

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Adapter kompatibel Binärfunktion Basisklasse

Original:

adaptor-compatible binary function base class

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Binders

Original:

Binders

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(veraltet)
(veraltet)

Funktions-Objekt hält eine binäre Funktion und eines ihrer Argumente

Original:

function object holding a binary function and one of its arguments

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(veraltet)
(veraltet)

bindet ein Argument für eine binäre Funktion

Original:

binds one argument to a binary function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]

Funktion Adaptern

Original:

Function adaptors

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Adapter-kompatiblen Wrapper für einen Zeiger auf einstellige Funktion

Original:

adaptor-compatible wrapper for a pointer to unary function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Adapter-kompatiblen Wrapper für einen Zeiger auf binäre Funktion

Original:

adaptor-compatible wrapper for a pointer to binary function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(veraltet)

schafft eine Adapter-kompatiblen Funktion Objekt-Wrapper von einem Zeiger auf eine Funktion

Original:

creates an adaptor-compatible function object wrapper from a pointer to function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]

(veraltet)
(veraltet)
(veraltet)
(veraltet)

Wrapper für einen Zeiger auf Member-Funktion, aufrufbar mit einem Zeiger auf Objekt nullary

Original:

wrapper for a pointer to nullary member function, callable with a pointer to object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(veraltet)

erstellt einen Wrapper von einem Zeiger auf Member-Funktion, aufrufbar mit einem Zeiger auf Objekt

Original:

creates a wrapper from a pointer to member function, callable with a pointer to object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]

Wapper für einen Zeiger auf nullary oder unären Member-Funktion, aufrufbar mit einem Verweis auf Objekt

Original:

wapper for a pointer to nullary or unary member function, callable with a reference to object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(veraltet)

erstellt einen Wrapper von einem Zeiger auf Member-Funktion, aufrufbar mit einem Verweis auf Objekt

Original:

creates a wrapper from a pointer to member function, callable with a reference to object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]