Name: Anonymous 2010-09-01 6:41
Don't you hate it when people indent their code like this?
template
<class C>
C*
v_DoSomething ( C a,
C b,
C c )
{
C* _ptrResult = &a;
if ( a >= b )
{
return ( _ptrResult );
}
else
{
if ( b >= c )
{
return &c;
}
else
{
return _ptrResult;
}
}
}
template
<class C>
C*
v_DoSomething ( C a,
C b,
C c )
{
C* _ptrResult = &a;
if ( a >= b )
{
return ( _ptrResult );
}
else
{
if ( b >= c )
{
return &c;
}
else
{
return _ptrResult;
}
}
}