Date: Sat, 29 Jul 2017 12:14:17 -0400 From: Oleg Lelchuk <oleglelchuk@gmail.com> To: freebsd-toolchain@freebsd.org Subject: libcxxrt seems to lack some features that are present in libc++abi Message-ID: <CA%2BGqWgsvDCfU2KvF6Hd3cCKGa6MA62-6KtGJ5LNGJrBB%2B_T0hg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
libcxxrt seems to lack some features that are present in libc++abi. If I compile this code and link it against libcxxrt: #include <iostream> #include <boost/type_index.hpp> int main() { int&& ref{4}; std::cout << boost::typeindex::type_id_with_cvr<decltype(ref)>().pretty_name() << std::endl; } Then I get the message: "Abort (core dumped)". But if I link this code against libc++abi, then I get the output "int&&". It seems to me libcxxrt doesn't know how to deal with rvalue references.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BGqWgsvDCfU2KvF6Hd3cCKGa6MA62-6KtGJ5LNGJrBB%2B_T0hg>