Megosztás a következőn keresztül:


operator<< Operator

Writes the stored path of a specified object to a stream.

template<class Path>
inline basic_ostream<typename Path::string_type::value_type, typename Path::string_type::traits_type>& operator<<(
   basic_ostream<typename Path::string_type::value_type,
   typename Path::string_type::traits_type>& Ostr,
   Path Pval
);

Parameters

  • Ostr
    A basic_ostream object.

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

Return Value

A reference to the basic_ostream object.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

<filesystem>

basic_ostream::operator<<

Other Resources

C++ Standard Library Header Files