google / styleguide

Style guides for Google-originated open-source projects
https://google.github.io/styleguide/
Apache License 2.0
37.44k stars 13.3k forks source link

Why was mutex (and other C++11 headers) unapproved? #434

Open ufo2243 opened 5 years ago

ufo2243 commented 5 years ago

Is there any document about why theses C++11 headers unapproved in google code style?

dongzeyu commented 3 years ago

How to fix this problem?

tituswinters commented 3 years ago

We generally prefer our own versions of those types, usually for both performance and better design. See http://abseil.io. If you prefer the standard versions of those locally in your own projects, that's reasonable.

On Mon, Jul 5, 2021 at 11:24 PM Zy Dong @.***> wrote:

How fix this problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/styleguide/issues/434#issuecomment-874430837, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7CRX5KFPTAWD2RSQEVORLTWJZO7ANCNFSM4GXTLAIQ .

-- If you get an email from me outside of the 9-5 it is not* because I'm always on or expect an immediate response from you; it is because of work flexibility http://www.inc.com/john-boitnott/how-flexible-hours-can-create-a-better-work-life-balance.html . Evening and weekend emails are a sign I allocated some regular working hours for other things (such as family, gym, friends,...). And I encourage you to feel free to do the same.