A RetroSearch Logo

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

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4140/basic.lookup.elab below:

[basic.lookup.elab]

3.4.4 Elaborated type specifiers [basic.lookup.elab]

If the elaborated-type-specifier has a nested-name-specifier, qualified name lookup is performed, as described in [basic.lookup.qual], but ignoring any non-type names that have been declared. If the name lookup does not find a previously declared type-name, the elaborated-type-specifier is ill-formed. [ Example:

struct Node {
  struct Node* Next;              struct Data* Data;                                            };

struct Data {
  struct Node* Node;              friend struct ::Glob;                                           friend struct Glob;                                             
};

struct Base {
  struct Data;                    struct ::Data*     thatData;    struct Base::Data* thisData;    friend class ::Data;            friend class Data;              struct Data { /* ... */ };   };

struct Data;                    struct ::Data;                  struct Base::Data;              struct Base::Datum;             struct Base::Data* pBase;       

 — end example ]


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