Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removing some definitions that are C-specific

...

Anchor
basic exception safety
basic exception safety

basic exception safety [Stroustrup 01], [Sutter 00]
The basic exception safety guarantee is a property of an operation such that, if the operation terminates by raising an exception, it preserves program state invariants and prevents resource leaks. See also exception safety, strong exception safety, and no-throw guarantee.

Anchor
conforming program conforming program
conforming [ISO/IEC 9899-1999]
Conforming programs may depend upon nonportable features of a conforming implementation.
Anchor
criticalsections
criticalsections

...

Anchor
freestanding environment
freestanding environment
Anchor
freestanding implementation
freestanding implementation

freestanding implementation [ISO/IEC 14882-2003]
A freestanding implementation is one in which execution may take place without the benefit of an operating system, and has an implementation-defined set of libraries that includes certain language-support libraries. Also referred to as freestanding environment.

Anchor
hosted environment
hosted environment
Anchor
function-like macro function-like macro
function-like macro
hosted implementation
hosted implementation

hosted implementation [ISO/IEC 989914882-19992003]
A #define preprocessing directive that defines an identifier immediately followed by zero or more parameters, the ellipsis (...), or a combination of the two, enclosed in parentheses, similar syntactically to a function call. Subsequent instances of the macro name followed by a parenthesized list of arguments in a translation unit are replaced by the replacement list of preprocessing tokens that constitute the remainder of the directive. See also object-like macro and unsafe function-like macro. Anchor hosted environment hosted environment An implementation that is not freestanding. Program startup occurs at main(), complex types are implemented, and all C++ standard library facilities are available. Also referred to as hosted environment.

Anchor
ill-formed
ill-formed
Anchor
ill-formed program
ill-formed program

ill-formed program Anchor hosted implementation hosted implementation hosted implementation [ISO/IEC 14882-2003]
An implementation A C++ program that is not freestanding. Program startup occurs at main(), complex types are implemented, and all C++ standard library facilities are available. Also referred to as hosted environment. Anchorill-formedill-formed Anchorill-formed programill-formed program ill-formed program well-formed, that is a program not constructed according to the syntax rules, diagnosable semantic rules, and the one-definition rule.

Anchor
implementation
implementation

implementation [ISO/IEC 9899-1999]
Particular set of software, running in a particular translation environment under particular control options, that performs translation of programs for, and supports execution of functions in, a particular execution environment.

Anchor
implementation-defined behavior
implementation-defined behavior

implementation-defined behavior [ISO/IEC 14882-2003]
A C++ program that is not Behavior, for a well-formed program construct and correct data, that is a program not constructed according to the syntax rules, diagnosable semantic rules, and the one-definition ruledepends on the implementation and that each implementation shall document.

Anchor
implementation incomplete type implementation
incomplete type
implementation
incomplete type [ISO/IEC 989914882-19992003]
Particular set of software, running in a particular translation environment under particular control options, that performs translation of programs for, and supports execution of functions in, a particular execution environment A type that describes objects but lacks information needed to determine their sizes.

Anchor
implementation-defined behaviorimplementation-defined behavior
implementation-defined behavior
indeterminate value
indeterminate value

indeterminate value [ISO/IEC 148829899-20031999]
Behavior, for a well-formed program construct and correct data, that depends on the implementation and that each implementation shall document Either an unspecified value or a trap representation.

Anchor
incomplete type incomplete type
incomplete type [ISO/IEC 14882-2003]
A type that describes objects but lacks information needed to determine their sizes. Anchor indeterminate value
invalid pointer
invalid pointer

invalid pointer
A pointer indeterminate value indeterminate value [ISO/IEC 9899-1999]
Either an unspecified value or a trap representation. Anchor invalid pointer invalid pointer invalid pointer
A pointer that is not a valid pointer.

...

Anchor
no-throw guarantee
no-throw guarantee

no-throw guarantee [Sutter 00]
The no-throw guarantee is a property of an operation such that it is guaranteed to complete successfully without raising or propagating an exception. See also exception safety, basic exception safety, and strong exception safety.

Anchor
object-like macro object-like macro
object-like macro
one definition rule
one definition rule
Anchor
odr
odr

one-definition rule (ODR) [ISO/IEC 989914882-19992014]
A #define preprocessing directive that defines an identifier with no parentheses. Subsequent instances of the macro name in a translation unit are replaced by the replacement list of preprocessing tokens that constitute the remainder of the directive. See also function-like macro. Anchorone definition ruleone definition rule Anchorodrodr one-definition rule (ODR) [ISO/IEC 14882-2014]
A fundamental C++ rule that states that no translation unit shall contain more than one definition of any variable, function, class type, enumeration type or template, and that every program shall contain exactly one definition of every non-inline function or variable. Some definitions may be duplicated in multiple translation units, subject to strict rules. Anchor reentrant reentrant reentrant [Dowd 06]
A function is reentrant if multiple instances of the same function can run in the same address space concurrently without creating the potential for inconsistent states. Anchor reliability reliability reliability [IEEE Std 610.12 1990]
The ability of a system or component to perform its required functions under stated conditions for a specified period of time. Anchor robustness robustness robustness [IEEE Std 610.12 1990]
The degree to which a system or component can function correctly in the presence of invalid inputs or stressful environmental conditions. Anchor rvalue rvalue rvalue [ISO/IEC 9899-1999]
Value of an expression. Anchor security flaw security flaw security flaw [Seacord 05a]
A security flaw is a software defect that poses a potential security risk. Anchor security policy security policy security policy [Internet Society 00]
A set of rules and practices that specify or regulate how a system or organization provides security services to protect sensitive and critical system resources. Anchor sequence point sequence point sequence point C99 [ISO/IEC 9899-1999]
Evaluation of an expression may produce side effects. At specific points in the execution sequence called sequence points, all side effects of previous evaluations have completed, and no side effects of subsequent evaluations have yet taken place.

The following sequence points are defined by C99 [ISO/IEC 9899-1999]:

  • The call to a function, after the arguments have been evaluated
  • The end of the first operand of the following operators: && (logical AND); || (logical OR); ? (conditional); , (comma operator)
  • The end of a full declarator
  • The end of a full expression: an initializer; the expression in an expression statement (that is, at the semicolon); the controlling expression of a selection statement (if or switch); the controlling expression of a while or do statement; each of the expressions of a for statement; the expression in a return statement
  • Immediately before a function returns
  • After the actions associated with each formatted input/output function conversion specifier
  • Immediately before and immediately after each call to a comparison function, by a standard searching or sorting function, and between any call to a comparison function and any movement of the objects passed as arguments to that call

Note that not all instances of a comma in C code denote a usage of the comma operator. For example, the comma between arguments in a function call is not a sequence point.

fundamental C++ rule that states that no translation unit shall contain more than one definition of any variable, function, class type, enumeration type or template, and that every program shall contain exactly one definition of every non-inline function or variable. Some definitions may be duplicated in multiple translation units, subject to strict rules.

Anchor
reentrant
reentrant

reentrant [Dowd 06]
A function is reentrant if multiple instances of the same function can run in the same address space concurrently without creating the potential for inconsistent states.

Anchor
reliability
reliability

reliability [IEEE Std 610.12 1990]
The ability of a system or component to perform its required functions under stated conditions for a specified period of time.

Anchor
robustness
robustness

robustness [IEEE Std 610.12 1990]
The degree to which a system or component can function correctly in the presence of invalid inputs or stressful environmental conditions.

Anchor
rvalue
rvalue

rvalue [ISO/IEC 9899-1999]
Value of an expression.

Anchor
security flaw
security flaw

security flaw [Seacord 05a]
A security flaw is a software defect that poses a potential security risk.

Anchor
security policy
security policy

security policy [Internet Society 00]
A set of rules and practices that specify or regulate how a system or organization provides security services to protect sensitive and critical system resources Anchor strictly conforming strictly conforming strictly conforming [ISO/IEC 9899-1999]
A strictly conforming program is one that uses only those features of the language and library specified in the international standard. Strictly conforming programs are intended to be maximally portable among conforming implementations and can't, for example, depend upon implementation-defined behavior.

Anchor
strong exception safety
strong exception safety

strong exception safety [Stroustrup 01], [Sutter 00]
The strong exception safety guarantee is a property of an operation such that, in addition to satisfying the basic exception safety guarantee, if the operation terminates by raising an exception it has no observable effects on program state. See also exception safety, basic exception safety, and no-throw guarantee.

...

Anchor
undefined behavior
undefined behavior

undefined behavior [ISO/IEC 14882-2003]
Behavior, such as might arise upon use of an erroneous program construct or erroneous data, for which the C++ Standard imposes no requirements. Undefined behavior may also be expected when the C++ Standard omits the description of any explicit definition of behavior, or defines the behavior to be ill-formed, with no diagnostic required. Anchor unsafe function-like macro unsafe function-like macro unsafe function-like macro
A function-like macro whose expansion causes one or more of its arguments not to be evaluated exactly once.

Anchor
unspecified behavior
unspecified behavior

unspecified behavior [ISO/IEC 14882-2003]
Behavior, for a well-formed program construct and correct data, that depends on the implementation. The implementation is not required to document which behavior occurs.

...