Jan Hudec
Jan Hudec
It would be better to define generic ``` template std::string to_string(const T &value) { std::ostringstream ss; ss
Only the non-standard part of the format needs to be parsed by the `operator
That makes sense. I would find it even nicer if the cast was made implicit, say if a function `advanced_format(std::ostream &, T, std::string_ref)`, found by ADL, is defined for T,...
… I remembered it didn't compile without the `WITH_STL=ON` either, but that is actually only in examples, so `WITH_EXAMPLES=OFF` plus `WITH_STL=OFF` does compile. I didn't test any of the exporters...
It is not from Ubuntu, it is a cross-compilation toolchain from Pengutronix. The apt sources line is ``` deb http://debian.pengutronix.de/debian/ bionic main contrib non-free ``` and the package to install...
I gave up on the library, because my first attempt at using it promptly crashed. I don't care any more.
Regarding prior art, note > In C, there's `typeof()`, which this feature would be an exact parallel to. That one is a GCC extension. However, C++ introduced it under the...
Confirming. `-v /run/docker.sock:/run/docker.sock` works every time, `--mount source=/run/docker.sock,target=/run/docker.sock,type=bind` never works and mounts an empty directory (owned by root.root, mode 700) instead. Also `--mount` sometimes fails randomly with the same problem,...
## Workaround I wrote this hacky bash script that translates `--mount` to `-v` when they are binds without extra options. Dropped it into my WSL install as `/usr/local/bin/docker` (fortunately rancher-desktop...
When the workspace is in WSL, VSCode runs docker in WSL. And what I just found is that `-v` works reliably, but `--mount` does not. For normal directories, `--mount` works...