operator/ (STL)

Concatenates the stored file names of two basic_path objects.

template<class String, class Traits>
   basic_path<String, Traits>
      operator/(const basic_path<String, Traits>& Left,
         const basic_path<String, Traits>& Right);

Parameters

  • Left
    The left basic_path object.

  • Right
    The right basic_path object.

Return Value

A basic_path object that contains the value of the concatenated strings.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

<filesystem>

basic_path::operator/= Operator

Other Resources

C++ Standard Library Header Files