We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

stem Function

Returns the stem of a specified path.

template<class Path>
inline typename Path::string_type stem(
   const Path& Pval


A Path object. Path can be either a basic_path or a type that is derived from basic_path.

A Path object that contains the stem of the specified path.

The stem of a path is the substring of the leaf up to but not including the rightmost dot.

Header: filesystem

Namespace: std::tr2::sys