Skip to content

Commit 9a19343

Browse files
add URL to standard
1 parent 20811e3 commit 9a19343

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

libs/openFrameworks/utils/ofFilesystemPath.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@
66
#include <iostream>
77
#include <utility>
88

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-
149
namespace of::filesystem {
1510

1611
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+
1720
private:
1821
std::filesystem::path path_; // simple composition
1922

0 commit comments

Comments
 (0)