Share via


stem, fonction

Returns the stem of a specified path.

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

Paramètres

  • Pval
    Objet Path. Path peut être soit un basic_path soit un type dérivé de basic_path.

Valeur de retour

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

Notes

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

Configuration requise

En-tête : filesystem

Namespace: std::tr2::sys

Voir aussi

Référence

<filesystem>

basic_path::stem, méthode

Autres ressources

Fichiers d'en-tête de bibliothèque standard C++