2011-11-25 20:59:04 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-10-21 20:04:05 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2015-12-01 22:20:04 +00:00
|
|
|
_LIBCXXRTDIR= ${.CURDIR}/../../contrib/libcxxrt
|
2012-06-02 11:00:48 +00:00
|
|
|
HDRDIR= ${.CURDIR}/../../contrib/libc++/include
|
|
|
|
SRCDIR= ${.CURDIR}/../../contrib/libc++/src
|
|
|
|
CXXINCLUDEDIR= ${INCLUDEDIR}/c++/v${SHLIB_MAJOR}
|
2016-01-14 19:00:13 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "arm"
|
|
|
|
STATIC_CXXFLAGS+= -mlong-calls
|
|
|
|
.endif
|
2011-11-25 20:59:04 +00:00
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
LIB= c++
|
|
|
|
SHLIB_MAJOR= 1
|
2013-08-03 16:23:43 +00:00
|
|
|
SHLIB_LDSCRIPT= libc++.ldscript
|
2011-11-25 20:59:04 +00:00
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
SRCS+= algorithm.cpp\
|
|
|
|
bind.cpp\
|
|
|
|
chrono.cpp\
|
|
|
|
condition_variable.cpp\
|
|
|
|
debug.cpp\
|
|
|
|
exception.cpp\
|
|
|
|
future.cpp\
|
|
|
|
hash.cpp\
|
|
|
|
ios.cpp\
|
|
|
|
iostream.cpp\
|
|
|
|
locale.cpp\
|
|
|
|
memory.cpp\
|
|
|
|
mutex.cpp\
|
|
|
|
new.cpp\
|
2014-01-30 07:44:22 +00:00
|
|
|
optional.cpp\
|
2012-06-02 11:00:48 +00:00
|
|
|
random.cpp\
|
|
|
|
regex.cpp\
|
2014-01-30 07:44:22 +00:00
|
|
|
shared_mutex.cpp\
|
2012-06-02 11:00:48 +00:00
|
|
|
stdexcept.cpp\
|
|
|
|
string.cpp\
|
|
|
|
strstream.cpp\
|
|
|
|
system_error.cpp\
|
|
|
|
thread.cpp\
|
|
|
|
typeinfo.cpp\
|
|
|
|
utility.cpp\
|
|
|
|
valarray.cpp
|
2011-11-25 20:59:04 +00:00
|
|
|
|
2012-08-25 13:15:44 +00:00
|
|
|
CXXRT_SRCS+= libelftc_dem_gnu3.c\
|
|
|
|
terminate.cc\
|
|
|
|
dynamic_cast.cc\
|
|
|
|
memory.cc\
|
|
|
|
auxhelper.cc\
|
|
|
|
exception.cc\
|
|
|
|
stdexcept.cc\
|
|
|
|
typeinfo.cc\
|
|
|
|
guard.cc
|
|
|
|
|
|
|
|
.for _S in ${CXXRT_SRCS}
|
|
|
|
STATICOBJS+= cxxrt_${_S:R}.o
|
2015-12-01 22:20:04 +00:00
|
|
|
cxxrt_${_S}: ${_LIBCXXRTDIR}/${_S} .NOMETA
|
2015-11-25 19:44:43 +00:00
|
|
|
ln -sf ${.ALLSRC} ${.TARGET}
|
2012-08-25 13:15:44 +00:00
|
|
|
.endfor
|
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
WARNS= 0
|
2015-12-01 22:20:04 +00:00
|
|
|
CFLAGS+= -I${HDRDIR} -I${_LIBCXXRTDIR} -nostdlib -DLIBCXXRT
|
2012-11-02 12:18:38 +00:00
|
|
|
.if empty(CXXFLAGS:M-std=*)
|
2014-08-25 08:40:36 +00:00
|
|
|
CXXFLAGS+= -std=c++11
|
2012-10-22 19:44:17 +00:00
|
|
|
.endif
|
2011-11-25 20:59:04 +00:00
|
|
|
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD+= cxxrt
|
2014-01-30 07:44:22 +00:00
|
|
|
INCSGROUPS= STD EXP EXT
|
2011-11-25 20:59:04 +00:00
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
STD_HEADERS= __bit_reference\
|
|
|
|
__config\
|
|
|
|
__debug\
|
|
|
|
__functional_03\
|
|
|
|
__functional_base\
|
|
|
|
__functional_base_03\
|
|
|
|
__hash_table\
|
|
|
|
__locale\
|
|
|
|
__mutex_base\
|
Import libc++ trunk r224926. This fixes a number of bugs, completes
C++14 support[1], adds more C++1z features[2], and fixes the following
LWG issues[3]:
1450: Contradiction in regex_constants
2003: String exception inconsistency in erase.
2075: Progress guarantees, lock-free property, and scheduling
assumptions
2104: unique_lock move-assignment should not be noexcept
2112: User-defined classes that cannot be derived from
2132: std::function ambiguity
2135: Unclear requirement for exceptions thrown in
condition_variable::wait()
2142: packaged_task::operator() synchronization too broad?
2182: Container::[const_]reference types are misleadingly specified
2186: Incomplete action on async/launch::deferred
2188: Reverse iterator does not fully support targets that overload
operator&
2193: Default constructors for standard library containers are explicit
2205: Problematic postconditions of regex_match and regex_search
2213: Return value of std::regex_replace
2240: Probable misuse of term "function scope" in [thread.condition]
2252: Strong guarantee on vector::push_back() still broken with C++11?
2257: Simplify container requirements with the new algorithms
2258: a.erase(q1, q2) unable to directly return q2
2263: Comparing iterators and allocator pointers with different
const-character
2268: Setting a default argument in the declaration of a member
function assign of std::basic_string
2271: regex_traits::lookup_classname specification unclear
2272: quoted should use char_traits::eq for character comparison
2278: User-defined literals for Standard Library types
2280: begin / end for arrays should be constexpr and noexcept
2285: make_reverse_iterator
2288: Inconsistent requirements for shared mutexes
2291: std::hash is vulnerable to collision DoS attack
2293: Wrong facet used by num_put::do_put
2299: Effects of inaccessible key_compare::is_transparent type are not
clear
2301: Why is std::tie not constexpr?
2304: Complexity of count in unordered associative containers
2306: match_results::reference should be value_type&, not const
value_type&
2308: Clarify container destructor requirements w.r.t. std::array
2313: tuple_size should always derive from integral_constant<size_t, N>
2314: apply() should return decltype(auto) and use decay_t before
tuple_size
2315: weak_ptr should be movable
2316: weak_ptr::lock() should be atomic
2317: The type property queries should be UnaryTypeTraits returning
size_t
2320: select_on_container_copy_construction() takes allocators, not
containers
2322: Associative(initializer_list, stuff) constructors are
underspecified
2323: vector::resize(n, t)'s specification should be simplified
2324: Insert iterator constructors should use addressof()
2329: regex_match()/regex_search() with match_results should forbid
temporary strings
2330: regex("meow", regex::icase) is technically forbidden but should
be permitted
2332: regex_iterator/regex_token_iterator should forbid temporary
regexes
2339: Wording issue in nth_element
2341: Inconsistency between basic_ostream::seekp(pos) and
basic_ostream::seekp(off, dir)
2344: quoted()'s interaction with padding is unclear
2346: integral_constant's member functions should be marked noexcept
2350: min, max, and minmax should be constexpr
2356: Stability of erasure in unordered associative containers
2357: Remaining "Assignable" requirement
2359: How does regex_constants::nosubs affect basic_regex::mark_count()?
2360: reverse_iterator::operator*() is unimplementable
[1] http://libcxx.llvm.org/cxx1y_status.html
[2] http://libcxx.llvm.org/cxx1z_status.html
[3] http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html
Exp-run: antoine
MFC after: 1 month
2015-01-15 21:17:36 +00:00
|
|
|
__refstring\
|
2012-06-02 11:00:48 +00:00
|
|
|
__split_buffer\
|
|
|
|
__sso_allocator\
|
|
|
|
__std_stream\
|
|
|
|
__tree\
|
|
|
|
__tuple\
|
2015-09-16 22:26:52 +00:00
|
|
|
__undef___deallocate\
|
2012-06-02 11:00:48 +00:00
|
|
|
__undef_min_max\
|
|
|
|
algorithm\
|
|
|
|
array\
|
|
|
|
atomic\
|
|
|
|
bitset\
|
|
|
|
cassert\
|
|
|
|
ccomplex\
|
|
|
|
cctype\
|
|
|
|
cerrno\
|
|
|
|
cfenv\
|
|
|
|
cfloat\
|
|
|
|
chrono\
|
|
|
|
cinttypes\
|
|
|
|
ciso646\
|
|
|
|
climits\
|
|
|
|
clocale\
|
|
|
|
cmath\
|
|
|
|
codecvt\
|
|
|
|
complex\
|
|
|
|
complex.h\
|
|
|
|
condition_variable\
|
|
|
|
csetjmp\
|
|
|
|
csignal\
|
|
|
|
cstdarg\
|
|
|
|
cstdbool\
|
|
|
|
cstddef\
|
|
|
|
cstdint\
|
|
|
|
cstdio\
|
|
|
|
cstdlib\
|
|
|
|
cstring\
|
|
|
|
ctgmath\
|
|
|
|
ctime\
|
|
|
|
cwchar\
|
|
|
|
cwctype\
|
|
|
|
deque\
|
|
|
|
exception\
|
|
|
|
forward_list\
|
|
|
|
fstream\
|
|
|
|
functional\
|
|
|
|
future\
|
|
|
|
initializer_list\
|
|
|
|
iomanip\
|
|
|
|
ios\
|
|
|
|
iosfwd\
|
|
|
|
iostream\
|
|
|
|
istream\
|
|
|
|
iterator\
|
|
|
|
limits\
|
|
|
|
list\
|
|
|
|
locale\
|
|
|
|
map\
|
|
|
|
memory\
|
|
|
|
mutex\
|
|
|
|
new\
|
|
|
|
numeric\
|
|
|
|
ostream\
|
|
|
|
queue\
|
|
|
|
random\
|
|
|
|
ratio\
|
|
|
|
regex\
|
|
|
|
scoped_allocator\
|
|
|
|
set\
|
2014-01-30 07:44:22 +00:00
|
|
|
shared_mutex\
|
2012-06-02 11:00:48 +00:00
|
|
|
sstream\
|
|
|
|
stack\
|
|
|
|
stdexcept\
|
|
|
|
streambuf\
|
|
|
|
string\
|
|
|
|
strstream\
|
|
|
|
system_error\
|
|
|
|
tgmath.h\
|
|
|
|
thread\
|
|
|
|
tuple\
|
|
|
|
type_traits\
|
|
|
|
typeindex\
|
|
|
|
typeinfo\
|
|
|
|
unordered_map\
|
|
|
|
unordered_set\
|
|
|
|
utility\
|
|
|
|
valarray\
|
|
|
|
vector
|
2012-06-02 11:07:19 +00:00
|
|
|
RT_HEADERS= cxxabi.h\
|
|
|
|
unwind.h\
|
|
|
|
unwind-arm.h\
|
|
|
|
unwind-itanium.h
|
2011-11-25 20:59:04 +00:00
|
|
|
|
|
|
|
.for hdr in ${STD_HEADERS}
|
2012-06-02 11:00:48 +00:00
|
|
|
STD+= ${HDRDIR}/${hdr}
|
2013-09-04 15:02:14 +00:00
|
|
|
INCSLINKS+= ${CXXINCLUDEDIR}/${hdr} ${CXXINCLUDEDIR}/tr1/${hdr}
|
2011-11-25 20:59:04 +00:00
|
|
|
.endfor
|
2012-06-02 11:07:19 +00:00
|
|
|
.for hdr in ${RT_HEADERS}
|
2015-12-01 22:20:04 +00:00
|
|
|
STD+= ${_LIBCXXRTDIR}/${hdr}
|
2012-06-02 11:07:19 +00:00
|
|
|
.endfor
|
2012-06-02 11:00:48 +00:00
|
|
|
STDDIR= ${CXXINCLUDEDIR}
|
2011-11-25 20:59:04 +00:00
|
|
|
|
Import libc++ trunk r224926. This fixes a number of bugs, completes
C++14 support[1], adds more C++1z features[2], and fixes the following
LWG issues[3]:
1450: Contradiction in regex_constants
2003: String exception inconsistency in erase.
2075: Progress guarantees, lock-free property, and scheduling
assumptions
2104: unique_lock move-assignment should not be noexcept
2112: User-defined classes that cannot be derived from
2132: std::function ambiguity
2135: Unclear requirement for exceptions thrown in
condition_variable::wait()
2142: packaged_task::operator() synchronization too broad?
2182: Container::[const_]reference types are misleadingly specified
2186: Incomplete action on async/launch::deferred
2188: Reverse iterator does not fully support targets that overload
operator&
2193: Default constructors for standard library containers are explicit
2205: Problematic postconditions of regex_match and regex_search
2213: Return value of std::regex_replace
2240: Probable misuse of term "function scope" in [thread.condition]
2252: Strong guarantee on vector::push_back() still broken with C++11?
2257: Simplify container requirements with the new algorithms
2258: a.erase(q1, q2) unable to directly return q2
2263: Comparing iterators and allocator pointers with different
const-character
2268: Setting a default argument in the declaration of a member
function assign of std::basic_string
2271: regex_traits::lookup_classname specification unclear
2272: quoted should use char_traits::eq for character comparison
2278: User-defined literals for Standard Library types
2280: begin / end for arrays should be constexpr and noexcept
2285: make_reverse_iterator
2288: Inconsistent requirements for shared mutexes
2291: std::hash is vulnerable to collision DoS attack
2293: Wrong facet used by num_put::do_put
2299: Effects of inaccessible key_compare::is_transparent type are not
clear
2301: Why is std::tie not constexpr?
2304: Complexity of count in unordered associative containers
2306: match_results::reference should be value_type&, not const
value_type&
2308: Clarify container destructor requirements w.r.t. std::array
2313: tuple_size should always derive from integral_constant<size_t, N>
2314: apply() should return decltype(auto) and use decay_t before
tuple_size
2315: weak_ptr should be movable
2316: weak_ptr::lock() should be atomic
2317: The type property queries should be UnaryTypeTraits returning
size_t
2320: select_on_container_copy_construction() takes allocators, not
containers
2322: Associative(initializer_list, stuff) constructors are
underspecified
2323: vector::resize(n, t)'s specification should be simplified
2324: Insert iterator constructors should use addressof()
2329: regex_match()/regex_search() with match_results should forbid
temporary strings
2330: regex("meow", regex::icase) is technically forbidden but should
be permitted
2332: regex_iterator/regex_token_iterator should forbid temporary
regexes
2339: Wording issue in nth_element
2341: Inconsistency between basic_ostream::seekp(pos) and
basic_ostream::seekp(off, dir)
2344: quoted()'s interaction with padding is unclear
2346: integral_constant's member functions should be marked noexcept
2350: min, max, and minmax should be constexpr
2356: Stability of erasure in unordered associative containers
2357: Remaining "Assignable" requirement
2359: How does regex_constants::nosubs affect basic_regex::mark_count()?
2360: reverse_iterator::operator*() is unimplementable
[1] http://libcxx.llvm.org/cxx1y_status.html
[2] http://libcxx.llvm.org/cxx1z_status.html
[3] http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html
Exp-run: antoine
MFC after: 1 month
2015-01-15 21:17:36 +00:00
|
|
|
EXP_HEADERS= __config\
|
2015-09-16 22:26:52 +00:00
|
|
|
algorithm\
|
|
|
|
chrono\
|
Import libc++ trunk r224926. This fixes a number of bugs, completes
C++14 support[1], adds more C++1z features[2], and fixes the following
LWG issues[3]:
1450: Contradiction in regex_constants
2003: String exception inconsistency in erase.
2075: Progress guarantees, lock-free property, and scheduling
assumptions
2104: unique_lock move-assignment should not be noexcept
2112: User-defined classes that cannot be derived from
2132: std::function ambiguity
2135: Unclear requirement for exceptions thrown in
condition_variable::wait()
2142: packaged_task::operator() synchronization too broad?
2182: Container::[const_]reference types are misleadingly specified
2186: Incomplete action on async/launch::deferred
2188: Reverse iterator does not fully support targets that overload
operator&
2193: Default constructors for standard library containers are explicit
2205: Problematic postconditions of regex_match and regex_search
2213: Return value of std::regex_replace
2240: Probable misuse of term "function scope" in [thread.condition]
2252: Strong guarantee on vector::push_back() still broken with C++11?
2257: Simplify container requirements with the new algorithms
2258: a.erase(q1, q2) unable to directly return q2
2263: Comparing iterators and allocator pointers with different
const-character
2268: Setting a default argument in the declaration of a member
function assign of std::basic_string
2271: regex_traits::lookup_classname specification unclear
2272: quoted should use char_traits::eq for character comparison
2278: User-defined literals for Standard Library types
2280: begin / end for arrays should be constexpr and noexcept
2285: make_reverse_iterator
2288: Inconsistent requirements for shared mutexes
2291: std::hash is vulnerable to collision DoS attack
2293: Wrong facet used by num_put::do_put
2299: Effects of inaccessible key_compare::is_transparent type are not
clear
2301: Why is std::tie not constexpr?
2304: Complexity of count in unordered associative containers
2306: match_results::reference should be value_type&, not const
value_type&
2308: Clarify container destructor requirements w.r.t. std::array
2313: tuple_size should always derive from integral_constant<size_t, N>
2314: apply() should return decltype(auto) and use decay_t before
tuple_size
2315: weak_ptr should be movable
2316: weak_ptr::lock() should be atomic
2317: The type property queries should be UnaryTypeTraits returning
size_t
2320: select_on_container_copy_construction() takes allocators, not
containers
2322: Associative(initializer_list, stuff) constructors are
underspecified
2323: vector::resize(n, t)'s specification should be simplified
2324: Insert iterator constructors should use addressof()
2329: regex_match()/regex_search() with match_results should forbid
temporary strings
2330: regex("meow", regex::icase) is technically forbidden but should
be permitted
2332: regex_iterator/regex_token_iterator should forbid temporary
regexes
2339: Wording issue in nth_element
2341: Inconsistency between basic_ostream::seekp(pos) and
basic_ostream::seekp(off, dir)
2344: quoted()'s interaction with padding is unclear
2346: integral_constant's member functions should be marked noexcept
2350: min, max, and minmax should be constexpr
2356: Stability of erasure in unordered associative containers
2357: Remaining "Assignable" requirement
2359: How does regex_constants::nosubs affect basic_regex::mark_count()?
2360: reverse_iterator::operator*() is unimplementable
[1] http://libcxx.llvm.org/cxx1y_status.html
[2] http://libcxx.llvm.org/cxx1z_status.html
[3] http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html
Exp-run: antoine
MFC after: 1 month
2015-01-15 21:17:36 +00:00
|
|
|
dynarray\
|
|
|
|
optional\
|
2015-09-16 22:26:52 +00:00
|
|
|
ratio\
|
Import libc++ trunk r224926. This fixes a number of bugs, completes
C++14 support[1], adds more C++1z features[2], and fixes the following
LWG issues[3]:
1450: Contradiction in regex_constants
2003: String exception inconsistency in erase.
2075: Progress guarantees, lock-free property, and scheduling
assumptions
2104: unique_lock move-assignment should not be noexcept
2112: User-defined classes that cannot be derived from
2132: std::function ambiguity
2135: Unclear requirement for exceptions thrown in
condition_variable::wait()
2142: packaged_task::operator() synchronization too broad?
2182: Container::[const_]reference types are misleadingly specified
2186: Incomplete action on async/launch::deferred
2188: Reverse iterator does not fully support targets that overload
operator&
2193: Default constructors for standard library containers are explicit
2205: Problematic postconditions of regex_match and regex_search
2213: Return value of std::regex_replace
2240: Probable misuse of term "function scope" in [thread.condition]
2252: Strong guarantee on vector::push_back() still broken with C++11?
2257: Simplify container requirements with the new algorithms
2258: a.erase(q1, q2) unable to directly return q2
2263: Comparing iterators and allocator pointers with different
const-character
2268: Setting a default argument in the declaration of a member
function assign of std::basic_string
2271: regex_traits::lookup_classname specification unclear
2272: quoted should use char_traits::eq for character comparison
2278: User-defined literals for Standard Library types
2280: begin / end for arrays should be constexpr and noexcept
2285: make_reverse_iterator
2288: Inconsistent requirements for shared mutexes
2291: std::hash is vulnerable to collision DoS attack
2293: Wrong facet used by num_put::do_put
2299: Effects of inaccessible key_compare::is_transparent type are not
clear
2301: Why is std::tie not constexpr?
2304: Complexity of count in unordered associative containers
2306: match_results::reference should be value_type&, not const
value_type&
2308: Clarify container destructor requirements w.r.t. std::array
2313: tuple_size should always derive from integral_constant<size_t, N>
2314: apply() should return decltype(auto) and use decay_t before
tuple_size
2315: weak_ptr should be movable
2316: weak_ptr::lock() should be atomic
2317: The type property queries should be UnaryTypeTraits returning
size_t
2320: select_on_container_copy_construction() takes allocators, not
containers
2322: Associative(initializer_list, stuff) constructors are
underspecified
2323: vector::resize(n, t)'s specification should be simplified
2324: Insert iterator constructors should use addressof()
2329: regex_match()/regex_search() with match_results should forbid
temporary strings
2330: regex("meow", regex::icase) is technically forbidden but should
be permitted
2332: regex_iterator/regex_token_iterator should forbid temporary
regexes
2339: Wording issue in nth_element
2341: Inconsistency between basic_ostream::seekp(pos) and
basic_ostream::seekp(off, dir)
2344: quoted()'s interaction with padding is unclear
2346: integral_constant's member functions should be marked noexcept
2350: min, max, and minmax should be constexpr
2356: Stability of erasure in unordered associative containers
2357: Remaining "Assignable" requirement
2359: How does regex_constants::nosubs affect basic_regex::mark_count()?
2360: reverse_iterator::operator*() is unimplementable
[1] http://libcxx.llvm.org/cxx1y_status.html
[2] http://libcxx.llvm.org/cxx1z_status.html
[3] http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html
Exp-run: antoine
MFC after: 1 month
2015-01-15 21:17:36 +00:00
|
|
|
string_view\
|
2015-09-16 22:26:52 +00:00
|
|
|
system_error\
|
|
|
|
tuple\
|
Import libc++ trunk r224926. This fixes a number of bugs, completes
C++14 support[1], adds more C++1z features[2], and fixes the following
LWG issues[3]:
1450: Contradiction in regex_constants
2003: String exception inconsistency in erase.
2075: Progress guarantees, lock-free property, and scheduling
assumptions
2104: unique_lock move-assignment should not be noexcept
2112: User-defined classes that cannot be derived from
2132: std::function ambiguity
2135: Unclear requirement for exceptions thrown in
condition_variable::wait()
2142: packaged_task::operator() synchronization too broad?
2182: Container::[const_]reference types are misleadingly specified
2186: Incomplete action on async/launch::deferred
2188: Reverse iterator does not fully support targets that overload
operator&
2193: Default constructors for standard library containers are explicit
2205: Problematic postconditions of regex_match and regex_search
2213: Return value of std::regex_replace
2240: Probable misuse of term "function scope" in [thread.condition]
2252: Strong guarantee on vector::push_back() still broken with C++11?
2257: Simplify container requirements with the new algorithms
2258: a.erase(q1, q2) unable to directly return q2
2263: Comparing iterators and allocator pointers with different
const-character
2268: Setting a default argument in the declaration of a member
function assign of std::basic_string
2271: regex_traits::lookup_classname specification unclear
2272: quoted should use char_traits::eq for character comparison
2278: User-defined literals for Standard Library types
2280: begin / end for arrays should be constexpr and noexcept
2285: make_reverse_iterator
2288: Inconsistent requirements for shared mutexes
2291: std::hash is vulnerable to collision DoS attack
2293: Wrong facet used by num_put::do_put
2299: Effects of inaccessible key_compare::is_transparent type are not
clear
2301: Why is std::tie not constexpr?
2304: Complexity of count in unordered associative containers
2306: match_results::reference should be value_type&, not const
value_type&
2308: Clarify container destructor requirements w.r.t. std::array
2313: tuple_size should always derive from integral_constant<size_t, N>
2314: apply() should return decltype(auto) and use decay_t before
tuple_size
2315: weak_ptr should be movable
2316: weak_ptr::lock() should be atomic
2317: The type property queries should be UnaryTypeTraits returning
size_t
2320: select_on_container_copy_construction() takes allocators, not
containers
2322: Associative(initializer_list, stuff) constructors are
underspecified
2323: vector::resize(n, t)'s specification should be simplified
2324: Insert iterator constructors should use addressof()
2329: regex_match()/regex_search() with match_results should forbid
temporary strings
2330: regex("meow", regex::icase) is technically forbidden but should
be permitted
2332: regex_iterator/regex_token_iterator should forbid temporary
regexes
2339: Wording issue in nth_element
2341: Inconsistency between basic_ostream::seekp(pos) and
basic_ostream::seekp(off, dir)
2344: quoted()'s interaction with padding is unclear
2346: integral_constant's member functions should be marked noexcept
2350: min, max, and minmax should be constexpr
2356: Stability of erasure in unordered associative containers
2357: Remaining "Assignable" requirement
2359: How does regex_constants::nosubs affect basic_regex::mark_count()?
2360: reverse_iterator::operator*() is unimplementable
[1] http://libcxx.llvm.org/cxx1y_status.html
[2] http://libcxx.llvm.org/cxx1z_status.html
[3] http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html
Exp-run: antoine
MFC after: 1 month
2015-01-15 21:17:36 +00:00
|
|
|
type_traits\
|
|
|
|
utility
|
2014-01-30 07:44:22 +00:00
|
|
|
|
|
|
|
.for hdr in ${EXP_HEADERS}
|
|
|
|
EXP+= ${HDRDIR}/experimental/${hdr}
|
|
|
|
.endfor
|
|
|
|
EXPDIR= ${CXXINCLUDEDIR}/experimental
|
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
EXT_HEADERS= __hash\
|
|
|
|
hash_map\
|
|
|
|
hash_set
|
2011-11-25 20:59:04 +00:00
|
|
|
|
|
|
|
.for hdr in ${EXT_HEADERS}
|
2012-06-02 11:00:48 +00:00
|
|
|
EXT+= ${HDRDIR}/ext/${hdr}
|
2011-11-25 20:59:04 +00:00
|
|
|
.endfor
|
2012-06-02 11:00:48 +00:00
|
|
|
EXTDIR= ${CXXINCLUDEDIR}/ext
|
2011-11-25 20:59:04 +00:00
|
|
|
|
2014-10-21 20:04:05 +00:00
|
|
|
.if ${MK_GNUCXX} == "no" && ${COMPILER_TYPE} == "gcc"
|
|
|
|
CLEANFILES+= libstdc++.so libstdc++.a
|
|
|
|
|
|
|
|
afterinstall:
|
2015-12-04 03:17:14 +00:00
|
|
|
${INSTALL_SYMLINK} ${DESTDIR}${LIBDIR}/lib${LIB}.so \
|
2014-10-21 20:04:05 +00:00
|
|
|
${.OBJDIR}/libstdc++.so
|
2015-12-04 03:17:14 +00:00
|
|
|
${INSTALL_SYMLINK} ${DESTDIR}${LIBDIR}/lib${LIB}.a \
|
2014-10-21 20:04:05 +00:00
|
|
|
${.OBJDIR}/libstdc++.a
|
|
|
|
.endif
|
|
|
|
|
2011-11-25 20:59:04 +00:00
|
|
|
.include <bsd.lib.mk>
|