Return references from base::circular_deque::emplace_*

C++17 changes the return type of emplace{,_front,_back} from void to
reference for sequence containers [1]. This change updates
base::circular_deque to reflect this change and be compatible with
C++17. Note that this change has no effect on base::queue when using
C++14, as std::queue does not know yet about the changed return type.

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0084r2.pdf

Bug: 752720
Change-Id: I163a6b60ade83ba135f429c8677fd60ab0bad451
Reviewed-on: https://chromium-review.googlesource.com/839773
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Reviewed-by: Brett Wilson <brettw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#527259}

CrOS-Libchrome-Original-Commit: 9f78c9314f583e92bba148549b3553699224c75c
2 files changed
tree: 96c7c391dda7d4922e51422e498dca1516847677
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/