1# Copyright 2017 Rene Rivera 2# Distributed under the Boost Software License, Version 1.0. 3# (See accompanying file LICENSE_1_0.txt or copy at 4# http://www.boost.org/LICENSE_1_0.txt) 5 6import feature ; 7 8#| tag::doc[] 9 10[[bbv2.builtin.features.stdlib]]`stdlib`:: 11*Allowed values*: `native`, `gnu`, `gnu11`, `libc++`, `sun-stlport`, `apache`. 12+ 13Specifies C++ standard library to link to and in some cases the library ABI to 14use: 15+ 16`native`::: Use compiler's default. 17`gnu`::: Use GNU Standard Library (a.k.a. pass:[libstdc++]) with the old ABI. 18`gnu11`::: Use GNU Standard Library with the new ABI. 19`libc++`::: Use LLVM pass:[libc++]. 20`sun-stlport`::: Use the STLport implementation of the standard library 21 provided with the Solaris Studio compiler. 22`apache`::: Use the Apache stdcxx version 4 C++ standard library provided with 23 the Solaris Studio compiler. 24 25|# # end::doc[] 26 27feature.feature stdlib 28 : native gnu gnu11 libc++ sun-stlport apache 29 : propagated composite ; 30