[Bug libstdc++/66059] make_integer_sequence should use a log(N) implementation

d.frey at gmx dot de gcc-bugzilla@gcc.gnu.org
Tue Nov 17 05:19:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66059

Daniel Frey <d.frey at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.frey at gmx dot de

--- Comment #3 from Daniel Frey <d.frey at gmx dot de> ---
A better O(log N) library-only solution than the linked one is available at
https://github.com/taocpp/sequences/blob/master/include/tao/seq/make_integer_sequence.hpp

Jonathan, we already exchanged some mails a few weeks ago about std::tuple
improvements. The above implementation can be used if the compiler-intrinsic
still needs time to materialize, the rest should be independently
implementable. If you are interested, let me know how to proceed.


More information about the Gcc-bugs mailing list