How similar are boost::filesystem and std::filesystem? <p>I believe <a href="http://www.boost.org/doc/libs/1_62_0/libs/filesystem/doc/index.htm" rel="nofollow noreferrer"><code>boost::filesystem</code></a> was at least one of the "source" libraries used to design <a href="http://en.cppreference.com/w/cpp/experimental/fs" rel="nofollow noreferrer"><code>std::filesystem</code></a> for C++17.</p> <p>How similar are they? If very similar, what are the known gotchas and incompatibilities? If not, where are they similar?</p> <p>This is in the context of implementing something with <code>std::filesystem</code>, <code>std::experimental::filesystem</code> or <code>boost::filesystem</code>, and wanting to know the likely scope of efforts required if we switch libraries (say, if one discovers that the <code>std</code> library on a particular platform is inadequate).</p> <p>This is not a request for an alternative library recommendation.</p>