aszkid / 7days

7 days of doom
0 stars 0 forks source link

`jdm::path` needs absolute vs. relative paths #13

Open aszkid opened 6 years ago

aszkid commented 6 years ago

We need some sort of flag to distinguish absolute from relative paths. For example,

path = absolute / relative;

makes sense, but

path = relative / absolute;

does not. Compile-time guarantees are not quite possible, though.

aszkid commented 6 years ago

15 is a start, but we need the above examples to throw, or a compile-time switch to decide whether the above assumptions are valid or not.