Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

typeinfo

For GCC 4.8.1 it was not yet possible to use typeinfo for float_128 on GCC: see GCC 43622.

So this code (to display the mangled name) failed to link undefined reference to typeinfo for __float128

std::cout << typeid(boost::float128_t).name() << std::endl;

This prevent using the existing tests for Boost.Math distributions, (unless a few lines are commented out) and if a MACRO BOOST_MATH_INSTRUMENT controlling them is defined then some diagnostic displays in Boost.Math will not work.

However this was only used for display purposes and could be commented out until this was fixed in GCC 5.

[Tip] Tip

Not all managed names can be displayed using std::cout.


PrevUpHomeNext