Am 29.01.2018 um 23:36 schrieb Brandon Williams:
A while back there was some discussion of getting our codebase into a state where we could use a c++ compiler if we wanted to (for various reason like leveraging c++ only analysis tools, etc.). Johannes Sixt had a very large patch that achieved this but it wasn't in a state where it could be upstreamed. I took that idea and did some removals of c++ keywords (new, template, try, this, etc) but broke it up into several (well maybe more than several) patches. I don't believe I've captured all of them in this series but this is at least moving a step closer to being able to compile using a c++ compiler.
Cool! The patches all look reasonable. Some keywords remain: 'delete', 'private', 'thread_local', 'not', 'xor', 'explicit', 'export'.
I don't know if this is something the community still wants to move towards, but if this is something people are still interested in, and this series is wanted, then we can keep doing these sort of conversions in chunks slowly.
I've rebased my patches on top of this series. They are available from https://github.com/j6t/git.git c-plus-plus -- Hannes