It worked great! The only major issue was the formal semantics issues around extended types and intmax, as you sketched out.
-
-
Replying to @stephentyrone @cr88192 and
But preprocessor requires all arithmetic take place in a common signed or unsigned type matching [u]intmax_t...
1 reply 0 retweets 0 likes -
Replying to @RichFelker @cr88192 and
As I said, the only real issue is around intmax.
1 reply 0 retweets 0 likes -
Replying to @stephentyrone @cr88192 and
Even without stdint.h and intmax_t, though, you'd run into the same problem with consistently defining what's supposed to happen at the preprocessor level...
1 reply 0 retweets 0 likes -
Replying to @RichFelker @cr88192 and
Yes. It breaks a whole mess of formal rules, but almost no real code is affected.
1 reply 0 retweets 0 likes -
Replying to @stephentyrone @cr88192 and
Clearly some of us do more awful things with the preprocessor than others... ;-)
2 replies 0 retweets 3 likes -
Replying to @RichFelker @stephentyrone and
preprocessor: the poor mans TMP ;)
1 reply 1 retweet 5 likes -
Replying to @emBOconference @RichFelker and
TMP: the poor man’s ruby script which generates boat loads of C++.
1 reply 0 retweets 3 likes -
Replying to @jfbastien @emBOconference and
but with fine-grained control and no build dependencies on ruby ;)
1 reply 0 retweets 0 likes -
Replying to @odinthenerd @jfbastien and
I for one am glad the STL does not build on top of ruby
2 replies 1 retweet 2 likes
Surely you could implement a Ruby interpreter in templates and then...
-
-
Replying to @RichFelker @emBOconference and
did someone say
@hankadusikova ;)0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.