STLdoc
STLdocumentation
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
VS2017
inc
minmax.h
Go to the documentation of this file.
1
//
2
// minmax.h
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Familiar min() and max() macros
7
//
8
#pragma once
9
#define _INC_MINMAX
10
11
12
13
#ifndef max
14
#define max(a ,b) (((a) > (b)) ? (a) : (b))
15
#endif
16
17
#ifndef min
18
#define min(a, b) (((a) < (b)) ? (a) : (b))
19
#endif
Generated on Sat Jul 22 2017 14:35:27 for STLdoc by
1.8.8