I know many other languages use the eval() function to take a string argument and evaluate it as part of the source code (so you can run a function or assign a variable etc). I've seen it in PHP, ...
template<class T> struct L2 { typedef bool is_kdtree_distance; typedef T ElementType; typedef typename Accumulator<T>::Type ResultType; template <typename Iterator1, typename Iterator2> ResultType ...