What is a fully qualified name?Is there a context where the expression `a.b::c` makes sense?What is the difference between #include <filename> and #include “filename”?What are the differences between a pointer variable and a reference variable in C++?What does the explicit keyword mean?What is the “-->” operator in C++?What is the copy-and-swap idiom?What is The Rule of Three?What are the basic rules and idioms for operator overloading?C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming?Image Processing: Algorithm Improvement for 'Coca-Cola Can' RecognitionWhat are the new features in C++17?

Need to read my home electrical meter

Why isn't 'chemically-strengthened glass' made with potassium carbonate to begin with?

Is it possible to remotely hack the GPS system and disable GPS service worldwide?

Is the field of q-series 'dead'?

Why did British Steel have to borrow 120 million pounds (from the government) to cover its ETS obligations?

What happened to boiled-off gases from the storage tanks at Launch Complex 39?

Where have Brexit voters gone?

Is this statement about cut time correct?

Can my floppy disk still work without a shutter spring?

Python program to take in two strings and print the larger string

Is there a simple example that empirical evidence is misleading?

PostGIS st_makeline extra columns in result

Why are Stein manifolds/spaces the analog of affine varieties/schemes in algebraic geometry?

Is it legal to have an abortion in another state or abroad?

What does kpsewhich stand for?

My employer faked my resume to acquire projects

Should one buy new hardware after a system compromise?

Why most published works in medical imaging try reducing false positives?

Defining the standard model of PA so that a space alien could understand

How to patch glass cuts in a bicycle tire?

Why did Theresa May offer a vote on a second Brexit referendum?

Count rotary dial pulses in a phone number (including letters)

How to deal with a colleague who is being aggressive?

A fortified nonogram



What is a fully qualified name?


Is there a context where the expression `a.b::c` makes sense?What is the difference between #include <filename> and #include “filename”?What are the differences between a pointer variable and a reference variable in C++?What does the explicit keyword mean?What is the “-->” operator in C++?What is the copy-and-swap idiom?What is The Rule of Three?What are the basic rules and idioms for operator overloading?C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming?Image Processing: Algorithm Improvement for 'Coca-Cola Can' RecognitionWhat are the new features in C++17?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








13















As far as I can tell, the term fully qualified isn't mentioned in the standard (e.g.), but I can recall "hearing" it many times online.



What do people mean when they say a name is fully qualified?



Does this count?



A::f()


or only this?



::A::f()


And, if it is standard, which wording have I not found?










share|improve this question



















  • 3





    With the injected class name one can really qualify stuff. ::A::A::A::A::f(). Not sure if it's "fully" though.

    – StoryTeller
    8 hours ago






  • 3





    @StoryTeller We should petition to add that term to the standard! really-really-really-qualified-id etc

    – Lightness Races in Orbit
    7 hours ago

















13















As far as I can tell, the term fully qualified isn't mentioned in the standard (e.g.), but I can recall "hearing" it many times online.



What do people mean when they say a name is fully qualified?



Does this count?



A::f()


or only this?



::A::f()


And, if it is standard, which wording have I not found?










share|improve this question



















  • 3





    With the injected class name one can really qualify stuff. ::A::A::A::A::f(). Not sure if it's "fully" though.

    – StoryTeller
    8 hours ago






  • 3





    @StoryTeller We should petition to add that term to the standard! really-really-really-qualified-id etc

    – Lightness Races in Orbit
    7 hours ago













13












13








13








As far as I can tell, the term fully qualified isn't mentioned in the standard (e.g.), but I can recall "hearing" it many times online.



What do people mean when they say a name is fully qualified?



Does this count?



A::f()


or only this?



::A::f()


And, if it is standard, which wording have I not found?










share|improve this question
















As far as I can tell, the term fully qualified isn't mentioned in the standard (e.g.), but I can recall "hearing" it many times online.



What do people mean when they say a name is fully qualified?



Does this count?



A::f()


or only this?



::A::f()


And, if it is standard, which wording have I not found?







c++ language-lawyer c++17






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago









dfri

36.9k462104




36.9k462104










asked 8 hours ago









Lightness Races in OrbitLightness Races in Orbit

300k56485833




300k56485833







  • 3





    With the injected class name one can really qualify stuff. ::A::A::A::A::f(). Not sure if it's "fully" though.

    – StoryTeller
    8 hours ago






  • 3





    @StoryTeller We should petition to add that term to the standard! really-really-really-qualified-id etc

    – Lightness Races in Orbit
    7 hours ago












  • 3





    With the injected class name one can really qualify stuff. ::A::A::A::A::f(). Not sure if it's "fully" though.

    – StoryTeller
    8 hours ago






  • 3





    @StoryTeller We should petition to add that term to the standard! really-really-really-qualified-id etc

    – Lightness Races in Orbit
    7 hours ago







3




3





With the injected class name one can really qualify stuff. ::A::A::A::A::f(). Not sure if it's "fully" though.

– StoryTeller
8 hours ago





With the injected class name one can really qualify stuff. ::A::A::A::A::f(). Not sure if it's "fully" though.

– StoryTeller
8 hours ago




3




3





@StoryTeller We should petition to add that term to the standard! really-really-really-qualified-id etc

– Lightness Races in Orbit
7 hours ago





@StoryTeller We should petition to add that term to the standard! really-really-really-qualified-id etc

– Lightness Races in Orbit
7 hours ago












2 Answers
2






active

oldest

votes


















15














An identifier that uses the scope resolution operator is a qualified name as per [expr.prim.id.qual]. Otherwise it is unqualified.



The standard doesn't define the meaning of fully qualified, but it does mention it in [library]/[requirements]/[organization]/[contents] which says




Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.
For example, if the Effects: element for library function F is described as calling library function G, the function ::std::G is meant.




Wikipedia defines Fully qualified name:




In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call




Only a name qualified starting from the global namespace is unambiguous without context. This is the common usage.






share|improve this answer
































    12














    Indeed, it is not a standard term. It has no definition in the standard.



    However, the phrase "fully qualified" appears exactly once, in [contents] (15.5.1.1 "Library contents" in the as-of-writing most current draft N4800) paragraph 3:




    Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.




    So in this definition, only names starting with :: are fully qualified.






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function ()
      StackExchange.using("externalEditor", function ()
      StackExchange.using("snippets", function ()
      StackExchange.snippets.init();
      );
      );
      , "code-snippets");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "1"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f56273345%2fwhat-is-a-fully-qualified-name%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      15














      An identifier that uses the scope resolution operator is a qualified name as per [expr.prim.id.qual]. Otherwise it is unqualified.



      The standard doesn't define the meaning of fully qualified, but it does mention it in [library]/[requirements]/[organization]/[contents] which says




      Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.
      For example, if the Effects: element for library function F is described as calling library function G, the function ::std::G is meant.




      Wikipedia defines Fully qualified name:




      In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call




      Only a name qualified starting from the global namespace is unambiguous without context. This is the common usage.






      share|improve this answer





























        15














        An identifier that uses the scope resolution operator is a qualified name as per [expr.prim.id.qual]. Otherwise it is unqualified.



        The standard doesn't define the meaning of fully qualified, but it does mention it in [library]/[requirements]/[organization]/[contents] which says




        Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.
        For example, if the Effects: element for library function F is described as calling library function G, the function ::std::G is meant.




        Wikipedia defines Fully qualified name:




        In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call




        Only a name qualified starting from the global namespace is unambiguous without context. This is the common usage.






        share|improve this answer



























          15












          15








          15







          An identifier that uses the scope resolution operator is a qualified name as per [expr.prim.id.qual]. Otherwise it is unqualified.



          The standard doesn't define the meaning of fully qualified, but it does mention it in [library]/[requirements]/[organization]/[contents] which says




          Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.
          For example, if the Effects: element for library function F is described as calling library function G, the function ::std::G is meant.




          Wikipedia defines Fully qualified name:




          In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call




          Only a name qualified starting from the global namespace is unambiguous without context. This is the common usage.






          share|improve this answer















          An identifier that uses the scope resolution operator is a qualified name as per [expr.prim.id.qual]. Otherwise it is unqualified.



          The standard doesn't define the meaning of fully qualified, but it does mention it in [library]/[requirements]/[organization]/[contents] which says




          Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.
          For example, if the Effects: element for library function F is described as calling library function G, the function ::std::G is meant.




          Wikipedia defines Fully qualified name:




          In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call




          Only a name qualified starting from the global namespace is unambiguous without context. This is the common usage.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 8 hours ago

























          answered 8 hours ago









          eerorikaeerorika

          92.7k668139




          92.7k668139























              12














              Indeed, it is not a standard term. It has no definition in the standard.



              However, the phrase "fully qualified" appears exactly once, in [contents] (15.5.1.1 "Library contents" in the as-of-writing most current draft N4800) paragraph 3:




              Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.




              So in this definition, only names starting with :: are fully qualified.






              share|improve this answer



























                12














                Indeed, it is not a standard term. It has no definition in the standard.



                However, the phrase "fully qualified" appears exactly once, in [contents] (15.5.1.1 "Library contents" in the as-of-writing most current draft N4800) paragraph 3:




                Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.




                So in this definition, only names starting with :: are fully qualified.






                share|improve this answer

























                  12












                  12








                  12







                  Indeed, it is not a standard term. It has no definition in the standard.



                  However, the phrase "fully qualified" appears exactly once, in [contents] (15.5.1.1 "Library contents" in the as-of-writing most current draft N4800) paragraph 3:




                  Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.




                  So in this definition, only names starting with :: are fully qualified.






                  share|improve this answer













                  Indeed, it is not a standard term. It has no definition in the standard.



                  However, the phrase "fully qualified" appears exactly once, in [contents] (15.5.1.1 "Library contents" in the as-of-writing most current draft N4800) paragraph 3:




                  Whenever a name x defined in the standard library is mentioned, the name x is assumed to be fully qualified as ::std::x, unless explicitly described otherwise.




                  So in this definition, only names starting with :: are fully qualified.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 8 hours ago









                  Sebastian RedlSebastian Redl

                  51.7k478121




                  51.7k478121



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f56273345%2fwhat-is-a-fully-qualified-name%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Log på Navigationsmenu

                      Creating second map without labels using QGIS?How to lock map labels for inset map in Print Composer?How to Force the Showing of Labels of a Vector File in QGISQGIS Valmiera, Labels only show for part of polygonsRemoving duplicate point labels in QGISLabeling every feature using QGIS?Show labels for point features outside map canvasAbbreviate Road Labels in QGIS only when requiredExporting map from composer in QGIS - text labels have moved in output?How to make sure labels in qgis turn up in layout map?Writing label expression with ArcMap and If then Statement?

                      Nuuk Indholdsfortegnelse Etyomologi | Historie | Geografi | Transport og infrastruktur | Politik og administration | Uddannelsesinstitutioner | Kultur | Venskabsbyer | Noter | Eksterne henvisninger | Se også | Navigationsmenuwww.sermersooq.gl64°10′N 51°45′V / 64.167°N 51.750°V / 64.167; -51.75064°10′N 51°45′V / 64.167°N 51.750°V / 64.167; -51.750DMI - KlimanormalerSalmonsen, s. 850Grønlands Naturinstitut undersøger rensdyr i Akia og Maniitsoq foråret 2008Grønlands NaturinstitutNy vej til Qinngorput indviet i dagAntallet af biler i Nuuk må begrænsesNy taxacentral mødt med demonstrationKøreplan. Rute 1, 2 og 3SnescootersporNuukNord er for storSkoler i Kommuneqarfik SermersooqAtuarfik Samuel KleinschmidtKangillinguit AtuarfiatNuussuup AtuarfiaNuuk Internationale FriskoleIlinniarfissuaq, Grønlands SeminariumLedelseÅrsberetning for 2008Kunst og arkitekturÅrsberetning for 2008Julie om naturenNuuk KunstmuseumSilamiutGrønlands Nationalmuseum og ArkivStatistisk ÅrbogGrønlands LandsbibliotekStore koncerter på stribeVandhund nummer 1.000.000Kommuneqarfik Sermersooq – MalikForsidenVenskabsbyerLyngby-Taarbæk i GrønlandArctic Business NetworkWinter Cities 2008 i NuukDagligt opdaterede satellitbilleder fra NuukområdetKommuneqarfik Sermersooqs hjemmesideTurist i NuukGrønlands Statistiks databankGrønlands Hjemmestyres valgresultaterrrWorldCat124325457671310-5