~ubuntu-branches/ubuntu/edgy/swig1.3/edgy

« back to all changes in this revision

Viewing changes to Lib/tcl/std_pair.i

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:16:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205011604-ygx904it6413k3go
Tags: 1.3.27-1ubuntu1
Resynchronise with Debian again, for the new subversion packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#include <utility>
17
17
%}
18
18
 
19
 
// exported class
20
 
 
21
19
namespace std {
22
20
 
23
 
    template<class T, class U> struct pair {
24
 
        // add typemaps here
25
 
        T first;
26
 
        U second;
27
 
    };
28
 
 
29
 
    // add specializations here
 
21
  template<class T, class U> struct pair {
 
22
 
 
23
    pair();
 
24
    pair(T first, U second);
 
25
    pair(const pair& p);
 
26
 
 
27
    template <class U1, class U2> pair(const pair<U1, U2> &p);
 
28
 
 
29
    T first;
 
30
    U second;
 
31
  };
 
32
 
 
33
  // add specializations here
30
34
 
31
35
}