$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-03-26 13:49:22
Alexander Grund wrote:
> The feature I require does not yet exist. I need movable std streams which
> MSVC supports since 2015 but 2013 does support most (many) C++11 features
> already. So checking other features is not reliable. I don't know enough
> about B2 to implement such thing myself.
You can look at
https://github.com/boostorg/iostreams/commit/601244b26aba14a2524ab1307243d0c5ea566206
as an example of writing such a custom check. Basically, you write a source
file that compiles when the feature you want is available, then use
check-target-builds to add a conditional requirement.