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.
1.4m articles
1.4m replys
5 comments
57.0k users