Will Wray
Will Wray
Strictly speaking... [`std::optional`](https://en.cppreference.com/w/cpp/utility/optional/operator_bool) is _explicitly_ convertible to bool. ``` constexpr explicit operator bool() const noexcept; ``` [contextual conversion](https://en.cppreference.com/w/cpp/language/implicit_conversion) to bool is specified in the controlling expression of if, while, for...
That works, thanks. My mouse clicks were in vain... On Tue, Aug 31, 2021 at 3:56 PM Kris Jusiak ***@***.***> wrote: > it's reveal.js, just press space or arrows >...
A UDL, user defined literal, for string literal will be useful for this particular case (once compilers support the new c++20 CNTTP UDL - so far only gcc does). Adding...
Adding `using namespace boost::ut::operators::terse;` doesn't fix the Expected Behavior, but gives a compile error: ``` $ g++ -I. -std=c++20 test.cpp test.cpp: In lambda function: test.cpp:13:27: error: ambiguous overload for ‘operator&&’...
FYI I have a use case for `copy_member_qualifiers` including `noexcept` along with `cv`/`ref` (so the target then has to be a function type). My application is type reflection where each...
This suggestion, that the language generate a library type for a problematic language object, follows a pattern in recent C++ evolution. The case of `std::initializer_list` has already been invoked. This...
Yes, I wrote that doc... It surely should be possible now. I'll aim to have another go today and report back. I'd intended to get the submission working and accepted...
> Does the original source still compile with GCC 11? Not sure which commit to pick from this repo, so tried this: ``` git clone https://github.com/jsoftware/jsource.git cd jsource/make2 ./build_all.sh ```...
I'll take a look at the weekend, and use my 'ask a friend' on the meson matrix channel if needed.
`debugpy/launcher 37201 -- -m pcmd test.h` ``` PyInt_FromLong not found. PyInt_FromLong not found. PyInt_FromLong not found. PyInt_FromLong not found. PyInt_FromLong not found. PyInt_FromLong not found. PyInt_FromLong not found. PyInt_FromLong not...