A project of school 42, to rewrite the vector, map , stack for main part, and "set" for the bonus part.
- Substitution failure is not an error (SFINAE) is a principle in C++ where an invalid substitution of template parameters is not in itself an error. David Vandevoorde first introduced the acronym SFINAE to describe related programming techniques.[1] 1.--> what is container somelike STL data structure --vector --map --set
list,deque, array
-
algorithms function template
-
iterators native pointer is a kind of iterators(is accesss random iterator) can be used by algorithms throught iterator traits;
-
functors
-
adapters --stack --queue through deque called container adapter