TypeList Implimentation

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

TypeList Implimentation

Post by cameron » December 15th, 2018, 9:41 pm

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.
Computer too slow? Consider running a VM on your toaster.

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: TypeList Implimentation

Post by albinopapa » December 15th, 2018, 10:16 pm

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

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: TypeList Implimentation

Post by chili » December 17th, 2018, 4:06 am

The real drain of template meta: developer manhours :D
Chili

Post Reply