ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtstl.h
(Generate patch)

Comparing rxvt-unicode/src/rxvtstl.h (file contents):
Revision 1.1 by pcg, Sat Jan 17 01:20:01 2004 UTC vs.
Revision 1.2 by pcg, Sat Jan 31 00:20:21 2004 UTC

1#ifndef RXVT_STL_H 1#ifndef RXVT_STL_H
2#define RXVT_STL_H 2#define RXVT_STL_H
3 3
4template<typename T> static inline T min (T a, long b) { return a < b ? a : b; } 4template<typename T, typename U> static inline T min (T a, U b) { return a < b ? a : b; }
5template<typename T> static inline T max (T a, long b) { return a > b ? a : b; } 5template<typename T, typename U> static inline T max (T a, U b) { return a > b ? a : b; }
6 6
7#include "simplevec.h" 7#include "simplevec.h"
8 8
9template<typename T> 9template<typename T>
10struct vector : simplevec<T> 10struct vector : simplevec<T>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines