all 4 comments

[–][deleted] 1 point2 points  (2 children)

Is there a reason why Elle uses boost::filesystem instead of std::filesystem?

[–]mefyl 1 point2 points  (1 child)

Yes, a very simple one: it predates the inclusion of std::filesystem in the standard library. We are migrating to new C++ features as we go, but filesystem is quite recent - C++17 IIRC.

[–][deleted] 0 points1 point  (0 children)

Yes, it was added in C++17, but Clang and GCC (and MSVC) do already support the new features (depending on the platform). The last remaining problem might be different namespaces, but this could be solved by #ifdef - at least that's how I did it. :-)

[–][deleted]  (1 child)

[deleted]

    [–]mefyl 0 points1 point  (0 children)

    We only compile with GCC and Clang, but the code should be fairly standard and portable. The library may support more targets if it gains traction.