This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi,
Just a small nit about the documentation:
Index: docs/html/debug.html
[...]
! <p>libstdc++ includes many extensions to the C++ standard library. In
! some cases the extensions are obvious, such as the hashed
! associative containers, whereas other extensions give predictable
! results to behavior that would otherwise be undefined, such as
! throwing an exception when a <code>std::basic_string</code> is
! constructed from a NULL character pointer. This latter category also
! includes implementation-defined and unspecified semantics,
The last sentence seems somewhat misleading. Implementation-defined
behaviour (as defined in 1.3.5) is quite distinct from undefined
behaviour, and is (or should be) predictable (since it is required to be
documented). Unspecified behaviour is also different from undefined
behaviour, and is not an extension.
Also, I don't see any place where the debug mode warns about implementation-defined or unspecified behaviour (but I may be missing something).
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |