🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #517

default arguments

#517
From: Tilo Levante
Date: Wed, 19 Sep 1990 08:31
14 lines
572 bytes
I have the following problem/question:

given a function:
  int example (int i=2, int j=5);

Is there a way to call the funtion like:
  example (,3)

This would be very usefull for functions with a lot
of default parameters.

Tilo
tilo@nmr.lpc.ethz.ch
Technical Details
Message-ID: <6129@ethz.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!cernvax!chx400!ethz!tilo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!cernvax!chx400!ethz!tilo
From: tilo@ethz.UUCP (Tilo Levante)
Newsgroups: comp.std.c++
Subject: default arguments
Message-ID: <6129@ethz.UUCP>
Date: 19 Sep 90 08:31:43 GMT
Reply-To: tilo@bernina.UUCP (Tilo Levante)
Organization: ETH Zuerich, Switzerland
Lines: 14