C

Concepts (C++)

Compile-time predicate on C++ template parameters

Concepts in the C++ programming language are type constraints on templates (or generics). Concepts are named Boolean predicates on template parameters, evaluated at compile time.

Nº Q5158429 ★

Comum · Saberes

Concepts (C++)

Compile-time predicate on C++ template parameters

Texto em inglês

Concepts in the C++ programming language are type constraints on templates (or generics). Concepts are named Boolean predicates on template parameters, evaluated at compile time.

Na Wikipédia

Texto em inglês Ainda não há artigo no seu idioma: trecho em inglês.

Concepts in the C++ programming language are type constraints on templates (or generics). Concepts are named Boolean predicates on template parameters, evaluated at compile time. A concept may be associated with a template (class template, function template, member function of a class template, variable template, or alias template), in which case it serves as a constraint: it limits the set of arguments that are accepted as template parameters. Originally dating back to suggestions for C++11, the original concepts specification has been revised multiple times before formally being standardised in C++20.

Texto: Wikipédia em inglês, CC BY-SA 4.0. ·

Cartas próximas

Abrir

…

Confirmação