Files
cppdraft_translate/cppdraft/concepts/general.md
2025-10-25 03:02:53 +03:00

1.8 KiB

[concepts.general]

18 Concepts library [concepts]

18.1 General [concepts.general]

1

#

This Clause describes library components that C++ programs may use to perform compile-time validation of template arguments and perform function dispatch based on properties of types.

The purpose of these concepts is to establish a foundation for equational reasoning in programs.

2

#

The following subclauses describe language-related concepts, comparison concepts, object concepts, and callable concepts as summarized in Table 48.

Table 48 — Fundamental concepts library summary [tab:concepts.summary]

🔗 Subclause Header
🔗
[concepts.equality]
Equality preservation
🔗
[concepts.lang]
Language-related concepts
🔗
[concepts.compare]
Comparison concepts
🔗
[concepts.object]
Object concepts
🔗
[concepts.callable]
Callable concepts