Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the file name extension of a specified file name.
template<class Path>
inline typename Path::string_type extension(
const Path& Pval
);
Parameters
- Pval
A Path object. Path can be either a basic_path or a type that is derived from basic_path.
Return Value
The file name extension of the file name that is stored in Pval.
Requirements
Header: filesystem
Namespace: std::tr2::sys