Skip to content

Commit c14bafe

Browse files
authored
Update 06-Considering_Portability.md
1 parent 5c5800d commit c14bafe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

06-Considering_Portability.md

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ Most portability issues that generate warnings are because we are not careful ab
66

77
http://www.viva64.com/en/a/0010/
88

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+
919
## Other Concerns
1020

1121
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

Comments
 (0)