From 0246d57e592444f006b551340273f21fa1a56574 Mon Sep 17 00:00:00 2001 From: ven Date: Sat, 19 Sep 2015 17:42:58 +0200 Subject: [PATCH] rime->time I was reading, and noticed this was probably wrong. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 4c5d4bd..0ac5f1f 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -1254,7 +1254,7 @@ However, if failing to make a connection is considerd an error, then a failure s **Exception**: Many traditional interface functions (e.g., UNIX signal handlers) use error codes (e.g., `errno`) to report what are really status codes, rather than errors. You don't have good alternative to using such, so calling these does not violate the rule. -**Alternative**: If you can't use exceptions (e.g. because your code is full of old-style raw-pointer use or because there are hard-real-rime constraints), +**Alternative**: If you can't use exceptions (e.g. because your code is full of old-style raw-pointer use or because there are hard-real-time constraints), consider using a style that returns a pair of values: int val;