catchorg / Clara

A simple to use, composable, command line parser for C++ 11 and beyond
Boost Software License 1.0
649 stars 67 forks source link

Move #include <algorithm> #2

Closed colonelsammy closed 8 years ago

colonelsammy commented 8 years ago

algorithm is needed in tbc_text_format.h (for std::min)

The following minimal example failed to compile (VS2013 update 5):

#define CLARA_CONFIG_MAIN
#include <clara.h>

int main(int argc, char* argv[])
{
    return 0;
}
mloskot commented 8 years ago

:+1: The issue and the fix confirmed with VS2015 Update 1.

colonelsammy commented 8 years ago

I see you did this so I've closed this pull request...