Upgrade type-erased [] to use ensure for 'key' types.
commitfe72c86d247edc4ee4a0ae479d69993edd5524ee
authorAlfred Fuller <afuller@fb.com>
Tue, 13 Sep 2022 19:04:27 +0000 (13 12:04 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 13 Sep 2022 19:04:27 +0000 (13 12:04 -0700)
tree11c6d3c7ca73be864ce6080eef3c002972040c7c
parent2e538a1196a46e045ceafddbe506e8046e871c50
Upgrade type-erased [] to use ensure for 'key' types.

Summary: Like normal c++ maps.

Differential Revision: D39243433

fbshipit-source-id: 7aadec57c244e2cd515cb9d73e8e3f1cc86a8098
third-party/thrift/src/thrift/lib/cpp2/type/Runtime.h
third-party/thrift/src/thrift/lib/cpp2/type/RuntimeTest.cpp
third-party/thrift/src/thrift/lib/cpp2/type/detail/Runtime.h