[C++-sig] member function template question.

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Thu Feb 19 22:51:17 CET 2004


--- Jonathan Brandmeyer <jbrandmeyer at earthlink.net> wrote:
> On Thu, 2004-02-19 at 14:49, Ralf W. Grosse-Kunstleve wrote:
> > Your example has several layers of complexity. I believe the main trick you
> > need to know is how to use a cast to tell the compiler what you want. E.g.:
> > 
> >   template <typename FloatType>
> >   bool
> >   is_positive_definite(
> >     vec3<FloatType> const& eigenvalues,
> >     FloatType const& tolerance);
> > 
> >   def(

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools




More information about the Cplusplus-sig mailing list