Search whole site: site:gist.github.com
Search title: Construct a variant alternative from a runtime index. Uses a static constexpr table to promote runtime integers to std::integral_constants, and forwards these along with args to the variant alternative's constructor. Useful for deserialisation? TODO: bounds checks, how to handle invalid indices... · GitHub
See how to search.