spielwiese
Last change
on this file since 684544 was
684544,
checked in by Rüdiger Stobbe <stobbe@…>, 27 years ago
|
Initial revision
git-svn-id: file:///usr/local/Singular/svn/trunk@7 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
397 bytes
|
Line | |
---|
1 | // emacs mode for this file is -*- C++ -*- |
---|
2 | // $Id: ftmpl_functions.h,v 1.0 1996-05-17 11:06:32 stobbe Exp $ |
---|
3 | |
---|
4 | #ifndef INCL_TMPLFUNCTIONS_H |
---|
5 | #define INCL_TMPLFUNCTIONS_H |
---|
6 | |
---|
7 | /* |
---|
8 | $Log: not supported by cvs2svn $ |
---|
9 | */ |
---|
10 | |
---|
11 | template<class T> |
---|
12 | inline T tmax( const T & a, const T & b ) |
---|
13 | { |
---|
14 | return (a > b) ? a : b; |
---|
15 | } |
---|
16 | |
---|
17 | template<class T> |
---|
18 | inline T tmin( const T & a, const T & b ) |
---|
19 | { |
---|
20 | return (a < b) ? a : b; |
---|
21 | } |
---|
22 | |
---|
23 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.