Skip to content

Commit

Permalink
Fix documentation of enable_if_path_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire authored Nov 22, 2024
1 parent 015be20 commit fd38460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/nowide/detail/is_path.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace nowide {

static constexpr bool value = decltype(test<T>(0))::value;
};
/// SFINAE trait which has a member "type = Result" if the Path is a *\::filesystem::path
/// SFINAE trait/alias which resolves to Result if the Path is a *\::filesystem::path
template<typename Path, typename Result>
using enable_if_path_t = typename std::enable_if<is_path<Path>::value, Result>::type;

Expand Down

0 comments on commit fd38460

Please sign in to comment.