From c14bafea7a9775dd4964a0384a37cec74eb6c7e3 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Wed, 18 Jul 2018 16:58:41 -0600 Subject: [PATCH] Update 06-Considering_Portability.md --- 06-Considering_Portability.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/06-Considering_Portability.md b/06-Considering_Portability.md index 228f5c0..5fd89ef 100644 --- a/06-Considering_Portability.md +++ b/06-Considering_Portability.md @@ -6,6 +6,16 @@ Most portability issues that generate warnings are because we are not careful ab http://www.viva64.com/en/a/0010/ +## Use The Standard Library + +### `std::filesystem` + +C++17 added a new `filesystem` library which provides portable filesystem access across all supporting compilers + +### `std::thread` + +C++11's threading capabilities should be utilized over `pthread` or `WinThreads`. + ## Other Concerns Most of the other concerns in this document ultimately come back to portability issues. [Avoid statics](07-Considering_Threadability.md#statics) is particularly of note.