Namespaces
Variants
Views
Actions

Template:cpp/container/mark std

From cppreference.com
[edit] [{{purge}}] Template documentation

{{cpp/container/mark std|container}} - outputs (C++11), (C++20), (C++23) etc., according to the revision of given standard container. The output is empty for pre-C++11 containers.

[edit] Example
  • {{cpp/container/mark std|vector}} results in (nothing)
  • {{cpp/container/mark std|array}} results in (C++11)
  • {{cpp/container/mark std|unordered_set}} results in (C++11)
  • {{cpp/container/mark std|span}} results in (C++20)
  • {{cpp/container/mark std|flat_set}} results in (C++23)