source: git/factory/templates/ftmpl_functions.h @ 6881f9b

spielwiese
Last change on this file since 6881f9b was 6881f9b, checked in by Jens Schmidt <schmidt@…>, 26 years ago
o #include <templates/config.h>, #include <templates/assetr.h> changed to #include <factoryconf> (without MAKEHEADER now) git-svn-id: file:///usr/local/Singular/svn/trunk@215 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 605 bytes
Line 
1// emacs mode for this file is -*- C++ -*-
2// $Id: ftmpl_functions.h,v 1.2 1997-04-30 13:08:26 schmidt Exp $
3
4#ifndef INCL_TMPLFUNCTIONS_H
5#define INCL_TMPLFUNCTIONS_H
6
7/*
8$Log: not supported by cvs2svn $
9Revision 1.1  1997/04/15 10:09:07  schmidt
10#include <config.h> added
11the header config.h will be included be makeheader
12
13Revision 1.0  1996/05/17 11:06:32  stobbe
14Initial revision
15
16*/
17
18#include <factoryconf.h>
19
20template<class T>
21inline T tmax( const T & a, const T & b )
22{
23  return (a > b) ? a : b;
24}
25
26template<class T>
27inline T tmin( const T & a, const T & b )
28{
29  return (a < b) ? a : b;
30}
31
32#endif
Note: See TracBrowser for help on using the repository browser.