The standard imposes no restrictions on the implementation (other than the complexity guarantees).
In other words, it's implementation-dependent. Typically, it's a red-black tree (see e.g. /usr/include/c++/x.y.z/bits/stl_tree.h
, where x.y.z
is your particular GCC version).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…