File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
libs/openFrameworks/utils Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 6
6
#include < iostream>
7
7
#include < utility>
8
8
9
- // general approach to return type:
10
- // - use `path` and path &` to wrap std:: return values
11
- // - use bool when bool (for self-documenting API)
12
- // - use (const) auto (inheriting from std:: implementation) for others
13
-
14
9
namespace of ::filesystem {
15
10
16
11
class path {
12
+
13
+ // as per https://github.com/cplusplus/draft/releases/tag/n4917
14
+
15
+ // general approach to return type:
16
+ // - use `path` and path &` to wrap std:: return values
17
+ // - use bool when bool (for self-documenting API)
18
+ // - use (const) auto (inheriting from std:: implementation) for others
19
+
17
20
private:
18
21
std::filesystem::path path_; // simple composition
19
22
You can’t perform that action at this time.
0 commit comments