• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • C++/Tcl
  • Feature Requests

Overloading functions (variable number of arguments)

Brought to you by: msobczak
  • Summary
  • Files
  • Reviews
  • Support
  • Tickets ▾
    • Bugs
    • Support Requests
    • Patches
    • Feature Requests
  • Code
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#7 Overloading functions (variable number of arguments)

open
nobody
None
5
2009-12-14
2009-12-14
Berkeley Churchill
No

This patch adds code to overload functions to take a variable number of arguments. For example, if one had a function

void go1(string)

and another function,

void go2(string, int) ,

then they could both be registered with the tcl interpreter to the command "go", so the interpreter could interpret both "go forit" and "go forit 5" and pass arguments to the appropriate functions.

cpptcl.cc.diff and cpptcl.h.diff are in the attached tarball.

Discussion

  • Berkeley Churchill

    Berkeley Churchill - 2009-12-14
     
    cpptcl-patch.tar
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    225 Broadway Suite 1600
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2025 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.