/ as path concatenation #1739
Unanswered
arvabalazs
asked this question in
Ideas
Replies: 1 comment 5 replies
-
The |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
C++ standard library provides a way to use / operator to concatenate paths:
https://en.cppreference.com/w/cpp/filesystem/path/operator_slash
I think for CUE this would be a nice readability improvement too:
p: "folder_name"/"subfolder" would be evaluated to "folder_name/subfolder".
Basically operator/ would do a concat like operator+ but also add a path separtor to it.
Beta Was this translation helpful? Give feedback.
All reactions