kiwixz
kiwixz
Timer's cancel actually queue the callback to be called, so you cant just destroy it.
I faced the same issue, and could work around it by adding double quotes to the path inside the variable. This behavior and the workaround are probably worth mentioning in...
I think this makes more sense as a runtime option, it's not that the type is special but rather that I don't care when parsing it. Like `allow_comments` and friends.
Allowing extra fields is more important to me, because its much more complicated to do beforehand and doesn't raise any questions on boost::json side. Allowing missing fields could be nice,...
> Maybe an anecdote, but one solution I tried (that didn't work, but seems like it should) was: > > Having `clang-15` / `clang++-15` use `--gcc-toolchain=$(dirname $(gcc-12 -print-libgcc-file-name))`, but even...
Clangd currently doesn't support detecting what's used in transitive includes. You can see it with such a setup: - super_specific_header.hpp ```cpp #pragma once void mylib_specific_function(); ``` - mylib.h ```cpp #pragma...
> The original intent was to disable analysis of weird-layout libraries like C++ standard library, C standard library, posix etc. I don't think that's it. Standard library headers are handled...
I didn't think of `using namespace` here which helps a lot. It still feels weird to me to use it as a free function, especially when we have `to_number` as...
> Currently the boost implementation returns `error::size_mismatch` is a field has been deprecated. Any suggestion on how to handle deprecated fields? I opened #991 for this. My use case was...
> This problem of supporting older versions of a struct isn't very generic. I agree this is not an easy one! The problem I have with the variant approach you...