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?

Why not invest in precious metals?

Is it safe to change the harddrive power feature so that it never turns off?

Has there been a multiethnic Star Trek character?

US doctor working in Tripoli wants me to open online account

How to use memset in c++?

Someone whose aspirations exceed abilities or means

Is it possible to have 2 different but equal size real number sets that have the same mean and standard deviation?

How to hide rifle during medieval town entrance inspection?

Is it legal for a bar bouncer to confiscate a fake ID

Writing an augmented sixth chord on the flattened supertonic

Minimum distance between two connectors in a high voltage PCB design

Longest bridge/tunnel that can be cycled over/through?

Why does logistic function use e rather than 2?

Why did Sanhedrin deal with who has a share in Olam Habah?

With Ubuntu 18.04, how can I have a hot corner that locks the computer?

How come the nude protesters were not arrested?

Wooden cooking layout

Can I utilise a baking stone to make crepes?

How can I get an unreasonable manager to approve time off?

Active low-pass filters --- good to what frequencies?

Warning about needing "authorization" when booking ticket

Happy with 18.04, except for suspend behaviour. Should I update to 18.10>>>19.04

Is using 'echo' to display attacker-controlled data on the terminal dangerous?

What is the color of artificial intelligence?



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;








35















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



















  • 7





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

    – StoryTeller
    May 23 at 10:42






  • 9





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

    – Lightness Races in Orbit
    May 23 at 11:24











  • What does the language-lawyer tag mean?

    – Evorlor
    May 23 at 21:38






  • 5





    @Evorlor Hover your mouse over it (and/or click)

    – Lightness Races in Orbit
    May 23 at 23:07

















35















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



















  • 7





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

    – StoryTeller
    May 23 at 10:42






  • 9





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

    – Lightness Races in Orbit
    May 23 at 11:24











  • What does the language-lawyer tag mean?

    – Evorlor
    May 23 at 21:38






  • 5





    @Evorlor Hover your mouse over it (and/or click)

    – Lightness Races in Orbit
    May 23 at 23:07













35












35








35


0






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 May 23 at 12:04









dfri

37k463105




37k463105










asked May 23 at 10:35









Lightness Races in OrbitLightness Races in Orbit

302k56490844




302k56490844







  • 7





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

    – StoryTeller
    May 23 at 10:42






  • 9





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

    – Lightness Races in Orbit
    May 23 at 11:24











  • What does the language-lawyer tag mean?

    – Evorlor
    May 23 at 21:38






  • 5





    @Evorlor Hover your mouse over it (and/or click)

    – Lightness Races in Orbit
    May 23 at 23:07












  • 7





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

    – StoryTeller
    May 23 at 10:42






  • 9





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

    – Lightness Races in Orbit
    May 23 at 11:24











  • What does the language-lawyer tag mean?

    – Evorlor
    May 23 at 21:38






  • 5





    @Evorlor Hover your mouse over it (and/or click)

    – Lightness Races in Orbit
    May 23 at 23:07







7




7





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

– StoryTeller
May 23 at 10:42





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

– StoryTeller
May 23 at 10:42




9




9





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

– Lightness Races in Orbit
May 23 at 11:24





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

– Lightness Races in Orbit
May 23 at 11:24













What does the language-lawyer tag mean?

– Evorlor
May 23 at 21:38





What does the language-lawyer tag mean?

– Evorlor
May 23 at 21:38




5




5





@Evorlor Hover your mouse over it (and/or click)

– Lightness Races in Orbit
May 23 at 23:07





@Evorlor Hover your mouse over it (and/or click)

– Lightness Races in Orbit
May 23 at 23:07












2 Answers
2






active

oldest

votes


















38














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 (quote from standard draft)




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
































    20














    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









      38














      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 (quote from standard draft)




      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





























        38














        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 (quote from standard draft)




        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



























          38












          38








          38







          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 (quote from standard draft)




          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 (quote from standard draft)




          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 May 28 at 18:07

























          answered May 23 at 10:43









          eerorikaeerorika

          94.4k671139




          94.4k671139























              20














              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



























                20














                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

























                  20












                  20








                  20







                  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 May 23 at 10:44









                  Sebastian RedlSebastian Redl

                  52k579123




                  52k579123



























                      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

                      Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                      Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                      What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company