A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/CWG/issues/1015.html below:

CWG Issue 1015

This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-08-11

1015. Template arguments and argument-dependent lookupSection: 6.5.4  [basic.lookup.argdep]     Status: C++11     Submitter: Jason Merrill     Date: 2009-12-24

[Voted into the WP at the March, 2011 meeting as part of paper N3262.]

Currently, according to 6.5.4 [basic.lookup.argdep] paragraph 2, explicit template arguments in a function argument do not contribute to the associated namespaces in a function call, although they plausibly should in an example like the following:

    namespace N {
        struct S { };
        void f(void (*)(S));
    };

    template<typename T> void g(T);

    void h() {
        f(g<N::S>);    // Should find N::f
    }

See also issue 997.

Proposed resolution (November, 2010) [SUPERSEDED]:

This issue is resolved by the resolution of issue 997.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4