Skip to content

Commit

Permalink
Added a warning about C++11 §17.6.4.2.2. (Closes #1.)
Browse files Browse the repository at this point in the history
  • Loading branch information
artob committed Jun 16, 2015
1 parent b7b0ac0 commit e4978f8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ Design Principles
* Differentiates logic errors, runtime errors, and fatal errors.
* Avoids the transitive inclusion of POSIX headers where possible.

Caveats
=======

**Caveat utilitor**: the project's top-level ``posix`` namespace may have to
be changed to something else in the future, as the C++ standard now frowns
upon using it:

C++11 §17.6.4.2.2 [namespace.posix]

The behavior of a C++ program is undefined if it adds declarations or
definitions to namespace posix or to a namespace within namespace posix
unless otherwise specified. The namespace posix is reserved for use by
ISO/IEC 9945 and other POSIX standards.

Error Handling
==============

Expand Down

0 comments on commit e4978f8

Please sign in to comment.