This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Add _EnableIfLValueCallable and move reference out of __callable.
ClosedPublic

Authored by zoecarver on May 16 2020, 3:24 PM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Summary

In std::functional moves the reference out of the __callable implementation and replaces _EnableIfCallable with _EnableIfLValueCallable (_EnableIfLValueCallable passes __callable an lvalue reference type).

Diff Detail

Event Timeline

zoecarver created this revision.May 16 2020, 3:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 16 2020, 3:24 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.May 19 2020, 5:58 AM

Thanks for the follow-up!

This revision is now accepted and ready to land.May 19 2020, 5:58 AM