GitHub Actions: Try MSVC builds with /std:c++17 and 20
[ACE_TAO.git] / ACE / ace / FILE_Addr.inl
blobc873ba8b08b92cc3a1e76bebbdf76834775c55ee
1 // -*- C++ -*-
3 #include "ace/SString.h"
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 // Compare two addresses for equality.
9 ACE_INLINE bool
10 ACE_FILE_Addr::operator == (const ACE_FILE_Addr &sap) const
12   return ACE_OS::strcmp (this->filename_, sap.filename_) == 0;
15 // Compare two addresses for inequality.
17 ACE_INLINE bool
18 ACE_FILE_Addr::operator != (const ACE_FILE_Addr &sap) const
20   return !((*this) == sap);     // This is lazy, of course... ;-)
23 // Return the path name used for the rendezvous point.
25 ACE_INLINE const ACE_TCHAR *
26 ACE_FILE_Addr::get_path_name (void) const
28   return this->filename_;
31 ACE_END_VERSIONED_NAMESPACE_DECL