What does the “::” mean in C++?

后端 未结 4 1814
花落未央
花落未央 2021-02-07 03:10

What does this symbol mean?

AirlineTicket::AirlineTicket()
4条回答
  •  悲哀的现实
    2021-02-07 03:53

    In C++ the :: is called the Scope Resolution Operator. It makes it clear to which namespace or class a symbol belongs.

提交回复
热议问题