You look like you may have template code in there.
Or just a interesting coding style.