s311354 / practice_design_pattern

Home Page:https://s311354.github.io/Louis.github.io/2021/12/18/%E6%B7%BA%E8%AB%87%E7%89%A9%E4%BB%B6%E5%B0%8E%E5%90%91%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5_II/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intorduction

This repository is useful to practice the fundamental conception of design pattern.

Recape Basic C++ Conception

Namespace

Namespaces provide a method for precenting name conflicts in large projects.

More generally, a declaration that appears in any namespace scope and introduces a name using unqualified identifier always introduces a member into the namespace it's in and not to any other namespace. The execptions are explicit instantiations and explicit speciallizations of a primary template that is defined in an inline namespace: because they do not introduce a new name, they may use unqualified-id in an enclosing namespace.

Reference