You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The alternative fix is to use a std::tuple. Unfortunately, tuples are a poor idea in practice, especially on VC++ 2017. Currently, VC++’s tuple is implemented recursively, with some 20+ constructors invoked recursively on itself until it reaches the empty tuple. To go back to the 260 elements from before, that’s quite the Russian Doll of template struct instantiations, all different from each other by the order of arguments…! So I either pay the cost of a recursive template instantiation from VC++ tuple (or roll my own tuple, or take one off the shelf from boost::hana), or eat the cost of a recursive function instantiation to process the arguments in order so I can call the function.
These functions are recursive in order to find the Tuple storage for an index:
Supposedly libc++'s tuple does not require recursion, or maybe this recursion is okay but it has a different type S at each step so I don't think this is okay.
The text was updated successfully, but these errors were encountered:
danakj
added
the
design
Design of the library systems as a whole, such as concepts
label
Dec 6, 2023
https://thephd.dev/sol3-compile-times-binary-sizes
These functions are recursive in order to find the Tuple storage for an index:
Supposedly libc++'s tuple does not require recursion, or maybe this recursion is okay but it has a different type
S
at each step so I don't think this is okay.The text was updated successfully, but these errors were encountered: