Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ゲノム注釈をチャートにレンダリングする新しいライブラリを作成します。しかし、C++ には Perl のような中央集権型のライブラリ Web サイトがないため、名前空間が既存の名前空間と競合しているかどうかはどうすればわかりますか?
以外は何でも使用できますstd。 C++ では名前空間に複合名を使用できないことに注意してください。
std
例えば:
// Allowed namespace a { namespace b { int c; } } // Not allowed namespace a::b { int c; }