How do I call std::min when min has already been defined as a macro?
std::min
min
(std::min)(x,y)
The parentheses around min prevent macro expansion. This works with all function macros.
2.1m questions
2.1m answers
60 comments
57.0k users