Gero
Gero
Hello, for min/max/minmax with multiple parameters there are only functions per std::initializer_list: https://en.cppreference.com/w/cpp/algorithm/min https://en.cppreference.com/w/cpp/algorithm/max https://en.cppreference.com/w/cpp/algorithm/minmax The parameters are always passed by value and not by reference and the result is...
Hello, often string functions of the form str = str + concat(strings...) or str = concat(strings...) are needed. But so far there is no variadic std::concat or boost::algorithm::concat. I would...
``` #include namespace boost { namespace core { template inline std::string nameof() { return demangle(typeid(Type).name()); } } // core } // boost ``` This saves a lot of manual fiddling...
*Problem In many cases a bit_cast is needed. However, it cannot be assumed that std::bit_cast is available. Therefore it would make sense to "rebuild" this in boost; my implementation: [cast.hpp.txt](https://github.com/boostorg/core/files/11617919/cast.hpp.txt)...
Hello, I am missing the header macros for C++23: BOOST_NO_CXX23_HDR_NNN. thx Gero
Hello, I miss these macros in boost/config.hpp: - BOOST_NO_CXX20/BOOST_NO_CXX23 (like BOOST_NO_CXX14, BOOST_NO_CXX17) - BOOST_CXX17_CONSTEXPR/BOOST_CXX20_CONSTEXPR/BOOST_CXX23_CONSTEXPR (like BOOST_CXX14_CONSTEXPR) - BOOST_CXX20_CONSTEVAL/BOOST_CXX23_CONSTEVAL This could be done like this: // C++17 #if defined(__cpp_constexpr) #if (__cpp_constexpr...
BOOST_HAS_BUILTIN e.g. clang/gcc support __has_builtin. However, you have to check if this is actually available before using it. I think it would be useful to introduce a macro BOOST_HAS_BUILTIN to...
generally - hexfloat is not supported - in the implementations, exceptions are used for flow control -> this procedure is/(has never been) sensible Suggestions a) via quadmath_snprintf/strtoflt128 - for gcc...
I am missing hypot(3 args). For an exact implementation there is just the discussion https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77776. Maybe you have some ideas. hypot(2 args) must then of course be adapted. math_fwd.hpp: ```...
Hello, please see https://godbolt.org/z/3qMfehf6z It seems that the intel compiler supports several functions: - complex: __cXq - strtoflt128/quadmath_snprintf With Linux it works. My questions: 1) Are the functions also available...