Boris Staletic
Boris Staletic
For posterity, ycmd/libclang allows this by allowing users to return something like `{ 'flags': list_of_flags, 'override_filename': some_file_name }` from the extra confs. That makes the TU main file be the...
For the record, YCM has just heard from another users who needed `override_filename`. This feature can also be supported for users who use `compile_commands.json`, if the comp db specification can...
> (and don't prevent unity builds AFAIK) They kinda do. If your entire codebase is "shoved" into a single TU, your `compile_commands.json` contains only that single entry which may or...
> which means that clangd nows that lib.cpp is not self-contained. Ranting aside, no. That only means that `lib.cpp` wasn't mentioned in your `compile_commands.json`. I don't think there is a...
Because it predates `enum.Enum` by a lot. You can use `.def()` on `py::enum_`s and give them `values()` and `__iter__()` to get what you want.
There are no backwards compatibility concerns here. For `value`, it's just a simple .def("value", [](enum_type e) { return static_cast(e); }) Or you can do it from python with `int(e)`. This...
Back when https://github.com/pybind/pybind11/pull/781 was still a thing, I did try to finish that pull request. You can guess that I got exactly nowhere. A bunch of times too. Even making...
@Kuniwak File producing the error, named test.vim: ``` let s:inline_python = 'python
This is a duplicate of #708
I'd support this addition to the docs, because this didn't seem obvious even though I've read about the `py::multiple_iheritance()`.