Document: N1744
Date: 2013-08-24


Defect Report #4nn

Previous Defect Report < - > Next Defect Report


Submitter: Douglas Walls
Submission Date: 2013-08-24
Source:WG14
Reference Document: N1744
Version: 1.2
Date: August 24, 2013
Subject: What is the value of TSS_DTOR_ITERATIONS for implementations with no maximum?

Summary

7.26.1p3 says in part:

TSS_DTOR_ITERATIONS

which expands to an integer constant expression representing the maximum number of times that destructors will be called when a thread terminates.

Question

What is the TSS_DTOR_ITERATIONS macro is supposed to expand to if the implementation imposes no restriction on the number of times that destructors will be called when a thread terminates?

Suggested Technical Corrigendum

7.26.1p3 change:

... when a thread terminates.

with:

... when a thread terminates, or -1 to represent no restrictions on the maximum number of times that distructors will be called when a thread terminates.




Previous Defect Report < - > Next Defect Report