title: Get path of the executable using standard library
body: <p>I know it can be done using <a href="https://stackoverflow.com/a/1024937/1298196">OS specific code</a>, or <a href="https://stackoverflow.com/a/1528401/1298196">Boost</a>, but I can't see a way to do it using the standard library <a href="http://en.cppreference.com/w/cpp/header/experimental/filesystem" rel="nofollow noreferrer">filesystem</a>. Note that <a href="http://en.cppreference.com/w/cpp/experimental/fs/current_path" rel="nofollow noreferrer">current_path</a> wouldn't work as the executable might be called from a different directory.</p>