wg21.cmeerw.net

Proposed resolution (September, 2010):

Change Clause 12 [over] paragraph 1 as follows:

...Only function and function template declarations can be overloaded; object variable and type declarations cannot be overloaded.

According to Clause 12 [over] paragraph 1,

Only function declarations can be overloaded; object and type declarations cannot be overloaded.

There are two problems with this statement. First, it does not allow for overloading function templates. (There may be other places in the Standard that refer to “functions” but should include function templates, as well.)

Second, the restriction on “object” declarations should presumably be on “variable” declarations instead, since one can also not overload reference declarations.

History Date User Action Args 2014-03-03 00:00:00adminsetstatus: fdis -> c++11 2011-04-10 00:00:00adminsetstatus: dr -> fdis 2010-11-29 00:00:00adminsetmessages: + msg3191 2010-11-29 00:00:00adminsetstatus: tentatively ready -> dr 2010-10-18 00:00:00adminsetmessages: + msg2989 2010-10-18 00:00:00adminsetstatus: drafting -> tentatively ready 2010-08-23 00:00:00adminsetstatus: open -> drafting 2009-12-27 00:00:00admincreate

Read the original on wg21.cmeerw.net ↗