Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2017 13:32:32 -0800
From:      Yuri <yuri@freebsd.org>
To:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Correct __cplusplus where std::tr1::function turns into std::function ?
Message-ID:  <1c147960-69be-0d66-84d4-146acb8fb752@freebsd.org>

next in thread | raw e-mail | index | archive | help
|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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1c147960-69be-0d66-84d4-146acb8fb752>