From e4978f807a0f7e38f2d30e8b38dfb67c033f9721 Mon Sep 17 00:00:00 2001 From: Arto Bendiken Date: Tue, 16 Jun 2015 19:37:28 +0200 Subject: [PATCH] =?UTF-8?q?Added=20a=20warning=20about=20C++11=20=C2=A717.?= =?UTF-8?q?6.4.2.2.=20(Closes=20#1.)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index 080e6dc..9ddefdd 100644 --- a/README.rst +++ b/README.rst @@ -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 ==============