So I've been fooling around with typelists for the past couple weeks and put together a type_list class with a bunch of facilities. I found tuple to be insufficient for my needs and there is no standard implementation for any of this.
https://github.com/BobsCrabShack/FunctionAny_Test
Side note: I spent a few hours working on optimizing compile time and was able to get it down to about a third of what it was originally. Still, the compiler seems to crap its pants (run out of heap space) when running operations on really large typelists. Haven't really figured out how to solve this yet but appears to be limited to the MVC++ compiler.
Ok... I am done working on this unless someone finds a bug or something. Maybe I or someone else will find a use for this in the future. Now to take a break from templates for a long while.
TypeList Implimentation
TypeList Implimentation
Computer too slow? Consider running a VM on your toaster.
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: TypeList Implimentation
Yeah, templates are draining.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com