File indexing completed on 2026-09-17 08:51:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef BOOST_INTERPROCESS_DETAIL_MIN_MAX_HPP
0014 #define BOOST_INTERPROCESS_DETAIL_MIN_MAX_HPP
0015
0016 #ifndef BOOST_CONFIG_HPP
0017 # include <boost/config.hpp>
0018 #endif
0019 0020 ">#
0021 #if defined(BOOST_HAS_PRAGMA_ONCE)
0022 # pragma once
0023 #endif
0024
0025 #include <boost/interprocess/detail/config_begin.hpp>
0026 #include <boost/interprocess/detail/workaround.hpp>
0027
0028 namespace boost {
0029 namespace interprocess {
0030
0031 template<class T>
0032 const T &max_value(const T &a, const T &b)
0033 { return a > b ? a : b; }
0034
0035 template<class T>
0036 const T &min_value(const T &a, const T &b)
0037 { return a < b ? a : b; }
0038
0039 }
0040 }
0041
0042 #include <boost/interprocess/detail/config_end.hpp>
0043
0044 #endif
0045