Correct __cplusplus where std::tr1::function turns into std::function ?
Yuri
yuri at freebsd.org
Wed Nov 29 21:32:41 UTC 2017
|This code picks the latter (tr1) version on 11,1-STABLE while the
correct choice is the former variant. #elif __cplusplus >= 201103L ||
(defined(_MSC_VER) && _MSC_VER >= 1800) using std::function; #else using
std::tr1::function; #endif symbols What is the correct __cplusplus then?
And how to find it for other symbols for future reference? (Googling
failed to find it.) Thanks! Yuri |
More information about the freebsd-ports
mailing list