Peter Dimov
Peter Dimov
I now remember that last time at looked at that, I came up with a way to insert the zero-initialization without using aligned storage, through a base class: https://godbolt.org/z/WMNRPc
See https://github.com/boostorg/utility/pull/66.
Summary of what we know so far: - when using hidden visibility, for exceptions thrown from .so to be caught, they need to be marked BOOST_SYMBOL_VISIBLE in both the library...
In addition, it appears that the problem only affects exception classes that are marked _DECL but are entirely header-only. So at the moment I'm inclined to think that this is...
https://github.com/boostorg/program_options/pull/106
We can also do (2) without the need for the checkpoint: ``` template< typename T > class checker { T& m_expected; public: void operator() (T const& res, boost::source_location const& loc...
I suspect you're misunderstanding the request as `T* operator->` whereas it's `T& operator->`. `reference_wrapper` is intended to act as a reference to `T` and has an implicit conversion `operator T&`,...
E.g. https://godbolt.org/z/3zx9YbY44
It probably makes sense to set the precision before printing floating point, but we need to restore it afterwards, and digits10 is C++11, so it's a bit of a hassle....
Ah wait, it's not C++11. :-)