You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: 06-Considering_Portability.md
+10
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,16 @@ Most portability issues that generate warnings are because we are not careful ab
6
6
7
7
http://www.viva64.com/en/a/0010/
8
8
9
+
## Use The Standard Library
10
+
11
+
### `std::filesystem`
12
+
13
+
C++17 added a new `filesystem` library which provides portable filesystem access across all supporting compilers
14
+
15
+
### `std::thread`
16
+
17
+
C++11's threading capabilities should be utilized over `pthread` or `WinThreads`.
18
+
9
19
## Other Concerns
10
20
11
21
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.
0 commit comments