src/lemon/extended_pair.h
changeset 959 c80ef5912903
parent 906 17f31d280385
child 1164 80bb73097736
equal deleted inserted replaced
3:4cb1e96c2035 0:cd4eb0e792a3
     1 /* -*- C++ -*-
     1 /* -*- C++ -*-
     2  * src/hugo/extended_pair.h - Part of HUGOlib, a generic C++ optimization library
     2  * src/lemon/extended_pair.h - Part of LEMON, a generic C++ optimization library
     3  *
     3  *
     4  * Copyright (C) 2004 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     4  * Copyright (C) 2004 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     5  * (Egervary Combinatorial Optimization Research Group, EGRES).
     5  * (Egervary Combinatorial Optimization Research Group, EGRES).
     6  *
     6  *
     7  * Permission to use, modify and distribute this software is granted
     7  * Permission to use, modify and distribute this software is granted
    12  * express or implied, and with no claim as to its suitability for any
    12  * express or implied, and with no claim as to its suitability for any
    13  * purpose.
    13  * purpose.
    14  *
    14  *
    15  */
    15  */
    16 
    16 
    17 #ifndef HUGO_EXTENDED_PAIR_H
    17 #ifndef LEMON_EXTENDED_PAIR_H
    18 #define HUGO_EXTENDED_PAIR_H
    18 #define LEMON_EXTENDED_PAIR_H
    19 
    19 
    20 template <typename T1, typename A1, typename T2, typename A2>
    20 template <typename T1, typename A1, typename T2, typename A2>
    21 struct extended_pair {
    21 struct extended_pair {
    22   typedef T1 first_type;
    22   typedef T1 first_type;
    23   typedef T2 second_type;
    23   typedef T2 second_type;