It seems healthy for the core C++ language to explore new territory here. Modern primitives for things like pixels and colors would be a good thing, I think. Let the compiler vendors compete to boil it down to the CPU/GPU. There will always be the argument for keeping such things out of Systems languages, but that school of thought won't use those features anyway. I was taught to not divide by 2 because bit-shifting is how you do fast graphics in C/C++. I sure hope the compilers have caught up and such trickery is no longer required--Graphics shouldn't be such a black art.
--Jet _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform