initial_path Function

Returns the current working directory at program startup.

template<class Path>
inline Path initial_path();

Return Value

The current working directory at program startup. Path can be either a basic_path or a type that's derived from basic_path.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

<filesystem>

Other Resources

C++ Standard Library Header Files