On Tuesday, 19 August 2014 at 18:25:24 UTC, Justin Whear wrote:
On Tue, 19 Aug 2014 18:15:33 +0000, ddos wrote:

since i need to setup vertexpointers for opengl at runtime my next question? - is it possible to evaluate the traits also at runtime? but
i'd also like to know how i can iterate them at compiletime

thx in advance :)

Take a look at this example:
http://dpaste.dzfl.pl/2fdea78a49b6

A foreach becomes compile-time whenever the aggregate is a purely compile-
time construct such as a tuple.

thank you!

Reply via email to