diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-03 05:08:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-03 05:08:57 +0200 |
commit | f1f0c43eeecef064719d72b398d245db12d6afe6 (patch) | |
tree | f6899ee06304a22da2b9ded380754f512fde6a2a /tracker-rs/ftnoir_tracker_rs.cpp | |
parent | ba131466002b656a3e65685ac08a13dadc69aa99 (diff) |
logic/shortcuts: destructure binding; avoid capture
wrt capture:
If a lambda-expression [...] captures a structured
binding (explicitly or implicitly), the program is
ill-formed.
-- P0588R1, Core issue 2313
Also it's unnecessary to make the removed lambda.
Diffstat (limited to 'tracker-rs/ftnoir_tracker_rs.cpp')
0 files changed, 0 insertions, 0 deletions