<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryamada</author_name>
  <author_url>https://blog.hatena.ne.jp/ryamada/</author_url>
  <blog_title>ryamadaのコンピュータ・数学メモ</blog_title>
  <blog_url>https://ryamada.hatenadiary.jp/</blog_url>
  <categories>
    <anon>c++</anon>
    <anon>クラス</anon>
    <anon>名前空間</anon>
  </categories>
  <description>今、Ａさんが作成したC++の諸関数群がある Ｂさんが作成したC++の諸関数群がある どちらも似たような目的で作られており、クラス名などが大幅に同名となっている。それぞれのクラスを定義した名前も同名になっている 両方を使ったプログラムが書きたい。どうするか ファイル自体に名前の衝突があるので、同じディレクトリに同居させられない これに対する解決策としては srcディレクトリ、includeディレクトリのそれぞれにディレクトリを切って、Ａ用・Ｂ用のcppファイル、ヘッダーファイルを分けて配置し、#include &quot;a/hoge.h&quot;, #include &quot;b/hoge.h&quot;というように指定し分ける…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada.hatenadiary.jp%2Fentry%2F20160206%2F1454740696&quot; title=&quot;c++クラスが衝突しているとき - ryamadaのコンピュータ・数学メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-02-06 15:38:16</published>
  <title>c++クラスが衝突しているとき</title>
  <type>rich</type>
  <url>https://ryamada.hatenadiary.jp/entry/20160206/1454740696</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
