Ezekiel Warren

Results 79 comments of Ezekiel Warren

I have a setup somewhat like this: ``` ----- ----- | A | B | ------- ------- | A | A | ------- ------- ``` From what I gather it's...

I think the syntax for [explicit object parameter (deducing this)](https://en.cppreference.com/w/cpp/language/member_functions#Explicit_object_member_functions) could simply be used whenever `this` has an explicit type. ```cpp2 example: (this: Something) -> void = { ... }...

There might be some overlap with meta-functions and attributes. Maybe C++ attributes could be implemented as meta functions if they are allowed on if statements, expressions etc. ```cpp2 if condition...

perhaps `compiler_services` could expose an "add/prepend cpp1" so the likely metafunction could look something like this: ``` likely: (s: cpp2::meta::statement) = { if s.is_if_statement() { s.append_cpp1("[[likely]]"); } else { //...

not to detract from C++ attributes too much here, but to expand the idea of "emitting cpp1" in a metafunction (which would cover C++ attributes) - the unreal engine has...

> Ideally, the metaclass would expand to whatever the macro expands to, not to the macro itself Totally agree, but it would be a really nice stepping stone. Especially for...

It seems to me that this is a runtime issue, not a build-time issue. Does this behaviour differ if compiled without bazel? It seems like reading the `LANG` environment variable...

Yea that's completely understandable especially if you're using it as a tool in a bazel rule. I do wonder would setting the `LANG` environment variable when doing [`ctx.run`](https://bazel.build/rules/lib/builtins/actions.html#run) not be...

maaaaybe setting `HAVE_SETLOCALE` to `0`? https://github.com/libarchive/libarchive/blob/819a50a0436531276e388fc97eb0b1b61d2134a3/tar/bsdtar.c#L190-L193 But that would just remove the `setlocale` call. I'm not really sure what the right thing to do here is.

In the past I did fork the individual boost repositories and add BUILD and WORKSPACE files to them. https://github.com/bazelboost. No MODULE files since I did this before bcr was available....