friend template function code example Example: normal class friend with template friend class matrix4x4<float>()