//
// Copyright (C) 2000 Andrey Slepuhin <pooh@msu.ru>
//
// libp++ is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// libp++ is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with libp++; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//
// $Source$
// $Revision$
// $Date$
// Author: Andrey Slepuhin <pooh@msu.ru>

#ifndef __pxx_pair_hh__
#define __pxx_pair_hh__

namespace pxx
{

template <typename typeT1, typename typeT2>
struct Pair
{

  typeT1 lt ;
  typeT2 rt ;

  Pair (typeT1 const& _lt, typeT2 const& _rt) :
    lt (_lt),
    rt (_rt)
  {}

  Pair (Pair const& _pair) :
    lt (_pair.lt),
    rt (_pair.rt)
  {}

  Pair& operator = (Pair const& _pair)
  {
    lt = _pair.lt;
    rt = _pair.rt;
  }

};

}

#endif // __pxx_pair_hh__
