Opened 16 years ago

Closed 16 years ago

#195 closed task (invalid)

Is anchor function default parameter order flawed?

Reported by: Jari Häkkinen Owned by: Jari Häkkinen
Priority: major Milestone: 0.6
Component: core Version: trunk
Keywords: Cc:

Description

in source:trunk/lib/html_utility.h the order of the default parameters is flawed in my opinion:

std::string anchor(const std::string& url,
                   const std::string& name, u_int level=0,
                   const std::string& title="");

Wouldn't one expect that title is changed more often than level?

Change History (1)

comment:1 Changed 16 years ago by Jari Häkkinen

Milestone: 0.6
Resolution: invalid
Status: newclosed

No.

Note: See TracTickets for help on using tickets.