I\'m beginner and learning C++
Having hard times to understand std::map concepts, because the code I\'m playing with implies that the map is a search tree, i.e.
As chris have written, the standard doesn't define the internal structure of the std::map or std::set. It defines the interface and complexity requirements for operations like insertion of an element. Those data structures of course may be implemented as trees. For example the implementation shipped with VisualStudio is based on a red-black tree.