[Insight-developers] template <class TBlah> vs template <typename
TBlah>
Brad King
brad.king@kitware.com
Mon, 4 Mar 2002 23:02:22 -0500 (EST)
> In some classes the template parameters are defined as:
>
> template <class TBlah>
>
> while in others it is:
>
> template <typename TBlah>
>
> What is the difference between them, if any?
> Style-wise which is preferred?
There is no semantic difference between these two forms (explicitly stated
as such in the standard). The second form is the preferred style for ITK.
-Brad