G'day:
I was thinking of entering a "wishlist" suggestion to MM along the lines
of a <cfmethod> tag that could be used in a CFC to faciliate
overloadable methods.

<cffunction> doesn't have the correct sort of implementation to be able
to do this (or hack it, or work around it), and is probably best left as
something to concoct UDFs.

The chief difference I'd perceive between the two tags would be that
there could be - within a CFC - any number of <cfmethods> of the same
name, as long as their <cfarguments> are different (all reqd, though),
and their return types are the same.  You know: kind of how it *should*
have been in the first place.

Anyway, I thought I'd mention it here first, to see what people thought?

Cheers.

Adam Cameron
Senior Application Developer
Straker Interactive

Ph: +64 9 3605034
Fx: +64 9 3605870
Email: [EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to