Files
azerothcore-wotlk/deps/acelite/ace/Pair_T.inl
Yehonal f06f32849f Directory Structure [step 1]: moving files
working on #672

NOTE: This commit can't be compiled!!
2017-10-12 20:00:52 +02:00

32 lines
737 B
C++

// -*- C++ -*-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template <class T1, class T2> ACE_INLINE
ACE_Reference_Pair<T1, T2>::ACE_Reference_Pair (T1 &t1,
T2 &t2)
: first_ (t1),
second_ (t2)
{
}
template <class T1, class T2> ACE_INLINE T1 &
ACE_Reference_Pair<T1, T2>::first (void) const
{
return this->first_;
}
template <class T1, class T2> ACE_INLINE T2 &
ACE_Reference_Pair<T1, T2>::second (void) const
{
return this->second_;
}
template <class T1, class T2> ACE_INLINE bool
ACE_Reference_Pair<T1, T2>::operator== (const ACE_Reference_Pair<T1, T2> &rhs) const
{
return (this->first_ == rhs.first_ &&
this->second_ == rhs.second_);
}
ACE_END_VERSIONED_NAMESPACE_DECL