Martin Moene

Results 119 comments of Martin Moene

@ZaMaZaN4iK I'm sorry to hear this sad news of @flexferrum 's passing. Would you like to send me the information from the Facebook post, as I'm not and do not...

Above code in [Compiler explorer](https://godbolt.org/z/aKqzq57Mr).

Ad 1. `span_FEATURE_MAKE_SPAN_TO_STD` `std::span` is a C++20 type and no `std::make_span()` will be provided as there's no need for these since C++17 thanks to [class template argument deduction (guides)](https://en.cppreference.com/w/cpp/language/class_template_argument_deduction). _span-lite_...

Thanks, I'll look at the implementation of `span_IN_STD( v )` at a later time.

Fix of `span_IN_STD`: ``` #define span_IN_STD( v ) ( ((v) == 98 ? 3 : (v)) >= span_CPLUSPLUS_V ) ```

> My point is: If you use this now with make_span enabled and somehow (e.g. using CMake and a dependent library requires a newer C++ standard which is propagated to...

Thanks for your helpful explanations! > I hope you now understand that the only clean solution is that libFoo defines span_FEATURE_MAKE_SPAN=1 to unconditionally add it. The unconditionality _could_ have been...

I think I get the importance of applying LTO to be better informed about software's correctness. Introducing it might take a considerable amount of time, as I want to know...

@pfeatherstone, Making `operator()(const T& item)` a `const` method lets it compile. At the moment I'm quite removed from the internal workings of `nonstd::visit` and in how far the limitations are...

Thanks @Elite-stay, looks like it now works with MSVC 9.