C++ Logo

std-proposals

Advanced search

[std-proposals] constexpr containers

From: Matthew Satti <matthewsatti_at_[hidden]>
Date: Sun, 19 Jan 2025 08:59:22 +0800
Hi all,

Given the introduction of constexpr for dynamic containers such as
std::basic_string and std::vector in C++ 20, have any proposals been
started to constexpr-ify the remaining containers in the STL?

This would include:
std::deque
std::forward_list
std::list
std::set
std::map
std::multiset
std::multimap
std::unordered_set
std::unordered_map
std::unordered_multiset
std::unordered_multimap
std::stack
std::queue
std::priority_queue
std::flat_set
std::flat_map
std::flat_multiset
std::flat_multimap

Cheers,
Matt

Received on 2025-01-19 00:59:34