Commit a2abde96 authored by Nathan Bronson's avatar Nathan Bronson Committed by Facebook Github Bot

refactor F14Fast so it doesn't expose F14Vector-only features

Summary:
F14FastMap heuristically selects either F14ValueMap or
F14VectorMap at compile time (same for F14FastSet).  F14VectorMap has
stronger iteration guarantees than the other unordered associative
containers, including providing a reverse iterator.  This diff refactors
F14FastMap so that even when it uses the same policy as F14VectorMap it
doesn't expose these additional guarantees.

This is a precursor to extending FOLLY_F14_PERTURB_INSERTION_ORDER to
all F14FastMap and F14FastSet.

Reviewed By: yfeldblum

Differential Revision: D13303823

fbshipit-source-id: 5feea3d1f8cb809ceb2c4f79a7cc1bc7e447768f
parent 1cdb0342
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment