Special Standard Containers Special Containers Special Containers pair<A,B> contains 2 values of same or different type tuple<A,B,C,…> C++11 contains many values of same or different type optional<T> C++17 contains either one value of type T or no value variant<A,B,C,…> C++17 contains one value of either type A or type B or type C, … any C++17 contains one value of any type Slides… Views Beginner's Guide / Std.Library 2 Special Iterators Other Containers (skips back) Standard Library Sequence Containers Standard Library Associative Containers Related … std::span / gsl::span std::variant (CopperSpice C++) std::visit (CopperSpice C++) C++STLarticlebeginner-levelcontainersstd-containersstd-library Last updated: 2019-10-20 Found this useful? Share it: Comments…
Comments…