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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to