Skip to main content

Timeline for Very basic tuple implementation

Current License: CC BY-SA 3.0

17 events
when toggle format what by license comment
Nov 18, 2015 at 21:47 comment added Buğra Gedik @chbaker It needs to be tail.template get<M-1>(); See stackoverflow.com/questions/610245/…
Nov 17, 2015 at 0:38 comment added chbaker0 @BuğraGedik have you tried with the latest Clang? It looks well-formed to me but I'm not sure.
Nov 16, 2015 at 19:26 comment added Buğra Gedik This code compiles with gcc, but clang 3.5 gives "error: expected expression" error for the line return tail.get<M-1>();
Feb 14, 2015 at 3:56 history edited Jamal
edited tags
Oct 22, 2014 at 15:51 answer added Louis Dionne timeline score: 10
Mar 20, 2014 at 23:04 vote accept chbaker0
Mar 20, 2014 at 13:05 answer added Sebastian Redl timeline score: 5
Mar 20, 2014 at 4:05 answer added iavr timeline score: 12
Mar 20, 2014 at 2:09 history edited chbaker0 CC BY-SA 3.0
added 384 characters in body
Mar 20, 2014 at 1:20 comment added chbaker0 @JerryCoffin Wow, I can't believe I did that. The code has been updated for both fixes.
Mar 20, 2014 at 1:19 history edited chbaker0 CC BY-SA 3.0
Updated code
Mar 19, 2014 at 6:31 comment added Jerry Coffin First obvious point: GreaterThanZero might as well just use: return N > 0; as its body.
Mar 18, 2014 at 8:42 comment added Morwenn I actually tried to find a use case for it, but the only I could find was for some variadic metafunctions using tuples where there was a specialization for an empty parameter pack.
Mar 17, 2014 at 19:55 comment added chbaker0 @Morwenn Ah good point :) what is acceptable behavior for that? Perhaps just an empty specialized class? I mean, there's nothing to get from it.
Mar 17, 2014 at 12:48 comment added Morwenn Your implementation does not handle empty tuples :)
Mar 17, 2014 at 4:58 history tweeted twitter.com/#!/StackCodeReview/status/445423960726196224
Mar 17, 2014 at 4:53 history asked chbaker0 CC BY-SA 3.0