The collections are also available under
site.collections
, with the metadata you specified in your_config.yml
(if present) and the following information:
Variable Description label
The name of your collection, e.g. my_collection
.docs
An array of documents. files
An array of static files in the collection. relative_directory
The path to the collection’s source directory, relative to the site source. directory
The full path to the collections’s source directory. output
Whether the collection’s documents will be output as individual files.
JekyllのCollectionは site.collections
に全て格納されるらしいので、
格納されているデータを調査した。
ただし、 docs 、files は量が多いのでひとつだけ出力するようにしている。
{{site.collections[0].label | inspect }}
{{site.collections[0].docs[0] | inspect }}
{{site.collections[0].files[0] | inspect }}
{{site.collections[0].relative_directory | inspect }}
{{site.collections[0].direcotory | inspect }}
{{site.collections[0].output | inspect }}
"docs"
{ "collection": "docs", "next": { "collection": "docs", "next": { "collection": "docs", "next": { "collection": "docs", "path": "_docs/Cpp/call-base-class-function.md", "id": "/Cpp/call-base-class-function", "url": "/Cpp/call-base-class-function", "relative_path": "_docs/Cpp/call-base-class-function.md", "draft": false, "categories": [
],
"layout": "post",
"title": "基底クラスのメンバ関数を呼び出したいんだけど・・・",
"date": "2016-09-13 00:00:00 +0900",
"lastchange": "2017-03-05 23:59:01 +0000",
"tags": [
"C++",
"inheritance",
"instance",
"pure",
"virtual",
"virtual function table"
],
"slug": "call-base-class-function",
"ext": ".md"
},
"path": "_docs/Cpp/accessor.md",
"id": "/Cpp/accessor",
"content": "<p>C++でメンバ変数へのアクセサを作る場合、最近こうやっている。</p>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"k\">class</span> <span class=\"nc\">C</span><span class=\"p\">{</span>\n\n<span class=\"nl\">private:</span>\n <span class=\"kt\">int</span> <span class=\"n\">_value</span><span class=\"p\">;</span>\n<span class=\"nl\">public:</span>\n <span class=\"n\">C</span><span class=\"p\">(){};</span>\n <span class=\"o\">~</span><span class=\"n\">C</span><span class=\"p\">(){};</span>\n <span class=\"kt\">int</span> <span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span><span class=\"k\">return</span> <span class=\"n\">_value</span><span class=\"p\">;}</span>\n <span class=\"kt\">int</span> <span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"k\">const</span> <span class=\"kt\">int</span> <span class=\"n\">value</span><span class=\"p\">){</span> <span class=\"n\">_value</span> <span class=\"o\">=</span> <span class=\"n\">value</span><span class=\"p\">;</span> <span class=\"k\">return</span> <span class=\"n\">_value</span><span class=\"p\">;</span> <span class=\"p\">}</span>\n\n<span class=\"p\">};</span>\n</code></pre></div></div>\n\n<p>オーバーロードを用いてこんな感じにしている。</p>\n\n<p>メンバ変数と同じような名前にすることで</p>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"kt\">int</span> <span class=\"nf\">main</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">C</span> <span class=\"n\">c</span><span class=\"p\">;</span>\n <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Value</span><span class=\"p\">(</span> <span class=\"mi\">1970</span> <span class=\"o\">+</span> <span class=\"mi\">45</span> <span class=\"p\">);</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"mi\">100</span> <span class=\"o\">+</span> <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Value</span><span class=\"p\">()</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n\n <span class=\"k\">return</span> <span class=\"mi\">0</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n</code></pre></div></div>\n\n<p><code class=\"language-plaintext highlighter-rouge\">get*</code>、<code class=\"language-plaintext highlighter-rouge\">set*</code>とするよりかなりスマートでは?</p>\n\n<p>テンプレートクラスの場合はこんな感じ。</p>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"k\">typename</span> <span class=\"nc\">T</span><span class=\"p\">&gt;</span>\n<span class=\"k\">class</span> <span class=\"nc\">C</span><span class=\"p\">{</span>\n <span class=\"nl\">private:</span>\n <span class=\"n\">T</span> <span class=\"n\">_value</span><span class=\"p\">;</span>\n <span class=\"nl\">public:</span>\n <span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){};</span>\n <span class=\"o\">~</span><span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){};</span>\n\n <span class=\"k\">const</span> <span class=\"n\">T</span><span class=\"o\">&amp;</span> <span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span> <span class=\"k\">return</span> <span class=\"n\">_value</span><span class=\"p\">;</span> <span class=\"p\">}</span>\n <span class=\"k\">const</span> <span class=\"n\">T</span><span class=\"o\">&amp;</span> <span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"k\">const</span> <span class=\"n\">T</span><span class=\"o\">&amp;</span> <span class=\"n\">value</span><span class=\"p\">){</span> <span class=\"n\">_value</span> <span class=\"o\">=</span> <span class=\"n\">value</span><span class=\"p\">;</span> <span class=\"k\">return</span> <span class=\"n\">_value</span><span class=\"p\">;</span> <span class=\"p\">}</span> \n<span class=\"p\">};</span>\n\n<span class=\"kt\">int</span> <span class=\"nf\">main</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n\n <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">string</span><span class=\"o\">&gt;</span> <span class=\"n\">c</span><span class=\"p\">;</span> <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">string</span><span class=\"p\">(</span><span class=\"err\">“</span><span class=\"n\">Str</span> <span class=\"o\">:</span><span class=\"err\">”</span><span class=\"p\">)</span> <span class=\"p\">);</span>\n\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Value</span><span class=\"p\">()</span> <span class=\"o\">+</span> <span class=\"err\">“</span><span class=\"n\">Test</span> <span class=\"n\">String</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n\n <span class=\"k\">return</span> <span class=\"mi\">0</span><span class=\"p\">;</span> \n<span class=\"p\">}</span>\n</code></pre></div></div>\n",
"output": "<!DOCTYPE html>\n<html lang=\"ja\">\n <head>\n <meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n \n <meta name=\"keywords\" content=\"C++,class,member,overload,accessor\">\n\n\n <title>アクセサ</title>\n\n <!-- bootstrap and jQuery include -->\n <link rel=\"stylesheet\" href=\"https://leico.github.io/TechnicalNote/css/style.css\">\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/jquery-3.1.1.min.js\"></script>\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/bootstrap/bootstrap.min.js\"></script>\n <!-- bootstrap and jQuery include -->\n\n <!-- MathJax include -->\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML\"></script>\n <script type=\"text/x-mathjax-config\">\n MathJax.Hub.Config({\n \"HTML-CSS\": {\n // デフォルトが [\"STIX\",\"TeX\"] なのを変更\n // [] にしても良い\n availableFonts: [\"TeX\"]\n , undefinedFamily: \"'Raleway', Helvetica, Arial, sans-serif\"\n }\n });\n </script>\n <!-- Google Analytics -->\n <script>\n (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');\n \n ga('create', 'UA-100782315-1', 'auto');\n ga('send', 'pageview');\n </script>\n\n <!-- Atom feed -->\n <link type=\"application/atom+xml\" rel=\"alternate\" href=\"https://leico.github.io/TechnicalNote/atom.xml\" title=\"TechnicalNote\" />\n</head>\n\n\n <body>\n <div class=\"container\">\n <div class=\"row\">\n\n\n <div class=\"col-md-8\">\n\n <header class=\"page-header\">\n <h1>アクセサ</h1>\n <div class=\"row\">\n\n <div class=\"col-6\">\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd>2016-09-13</dd>\n <dt>last change</dt>\n <dd>2017-03-06 01:21:10 +0000</dd>\n </dl>\n </div>\n\n <div class=\"col-6 text-right\">\n <a href=\"https://twitter.com/share\" class=\"twitter-share-button\">Tweet</a>\n <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>\n </div>\n\n </div>\n </header>\n\n <div class=\"row\">\n\n <div class=\"col-12\">\n <p>C++でメンバ変数へのアクセサを作る場合、最近こうやっている。</p>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"k\">class</span> <span class=\"nc\">C</span><span class=\"p\">{</span>\n\n<span class=\"nl\">private:</span>\n <span class=\"kt\">int</span> <span class=\"n\">_value</span><span class=\"p\">;</span>\n<span class=\"nl\">public:</span>\n <span class=\"n\">C</span><span class=\"p\">(){};</span>\n <span class=\"o\">~</span><span class=\"n\">C</span><span class=\"p\">(){};</span>\n <span class=\"kt\">int</span> <span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span><span class=\"k\">return</span> <span class=\"n\">_value</span><span class=\"p\">;}</span>\n <span class=\"kt\">int</span> <span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"k\">const</span> <span class=\"kt\">int</span> <span class=\"n\">value</span><span class=\"p\">){</span> <span class=\"n\">_value</span> <span class=\"o\">=</span> <span class=\"n\">value</span><span class=\"p\">;</span> <span class=\"k\">return</span> <span class=\"n\">_value</span><span class=\"p\">;</span> <span class=\"p\">}</span>\n\n<span class=\"p\">};</span>\n</code></pre></div></div>\n\n<p>オーバーロードを用いてこんな感じにしている。</p>\n\n<p>メンバ変数と同じような名前にすることで</p>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"kt\">int</span> <span class=\"nf\">main</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">C</span> <span class=\"n\">c</span><span class=\"p\">;</span>\n <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Value</span><span class=\"p\">(</span> <span class=\"mi\">1970</span> <span class=\"o\">+</span> <span class=\"mi\">45</span> <span class=\"p\">);</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"mi\">100</span> <span class=\"o\">+</span> <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Value</span><span class=\"p\">()</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n\n <span class=\"k\">return</span> <span class=\"mi\">0</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n</code></pre></div></div>\n\n<p><code class=\"language-plaintext highlighter-rouge\">get*</code>、<code class=\"language-plaintext highlighter-rouge\">set*</code>とするよりかなりスマートでは?</p>\n\n<p>テンプレートクラスの場合はこんな感じ。</p>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"k\">typename</span> <span class=\"nc\">T</span><span class=\"p\">&gt;</span>\n<span class=\"k\">class</span> <span class=\"nc\">C</span><span class=\"p\">{</span>\n <span class=\"nl\">private:</span>\n <span class=\"n\">T</span> <span class=\"n\">_value</span><span class=\"p\">;</span>\n <span class=\"nl\">public:</span>\n <span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){};</span>\n <span class=\"o\">~</span><span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){};</span>\n\n <span class=\"k\">const</span> <span class=\"n\">T</span><span class=\"o\">&amp;</span> <span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span> <span class=\"k\">return</span> <span class=\"n\">_value</span><span class=\"p\">;</span> <span class=\"p\">}</span>\n <span class=\"k\">const</span> <span class=\"n\">T</span><span class=\"o\">&amp;</span> <span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"k\">const</span> <span class=\"n\">T</span><span class=\"o\">&amp;</span> <span class=\"n\">value</span><span class=\"p\">){</span> <span class=\"n\">_value</span> <span class=\"o\">=</span> <span class=\"n\">value</span><span class=\"p\">;</span> <span class=\"k\">return</span> <span class=\"n\">_value</span><span class=\"p\">;</span> <span class=\"p\">}</span> \n<span class=\"p\">};</span>\n\n<span class=\"kt\">int</span> <span class=\"nf\">main</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n\n <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">string</span><span class=\"o\">&gt;</span> <span class=\"n\">c</span><span class=\"p\">;</span> <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Value</span><span class=\"p\">(</span><span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">string</span><span class=\"p\">(</span><span class=\"err\">“</span><span class=\"n\">Str</span> <span class=\"o\">:</span><span class=\"err\">”</span><span class=\"p\">)</span> <span class=\"p\">);</span>\n\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Value</span><span class=\"p\">()</span> <span class=\"o\">+</span> <span class=\"err\">“</span><span class=\"n\">Test</span> <span class=\"n\">String</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n\n <span class=\"k\">return</span> <span class=\"mi\">0</span><span class=\"p\">;</span> \n<span class=\"p\">}</span>\n</code></pre></div></div>\n\n </div>\n\n <div class=\"col-12\">\n <hr>\n <a href=\"https://twitter.com/share\" class=\"twitter-share-button\">Tweet</a>\n <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>\n </div>\n\n </div>\n\n </div>\n \n <div class=\"col-md-4\">\n <h2>\n <a href=\"https://leico.github.io/TechnicalNote/\">\n Technical Note\n </a>\n </h2>\n\n \n\n \n\n <h3>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp\">C++ Top</a>\n </h3>\n\n \n <h3>C++11 Tips</h3>\n <ul>\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/template-template-parameter\">テンプレートテンプレートパラメータまとめ</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/is-same-base-of\">std :: is_same と std :: is_base_of の挙動を調べる</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/private-using\">using や typedef にもアクセス指定子が乗る</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/enum-class-operator\">enum class 同士の計算を僕も実装してみた</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/template-specialize-inherit\">クラステンプレートの特殊化ごとに継承元を変更する</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/variadic-template\">可変引数テンプレートパラメータいろいろ</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/using_error\">std :: conditional の判定式でエラー</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/cast_specialization\">テンプレート型変換演算子を特殊化する</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/has_trivial_assign\">has_trivial_assign は is_trivially_copy_assignable になった</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/lambda\">ラムダ式を利用する</a>\n </li>\n\n \n </ul>\n \n <h3>Error handling</h3>\n <ul>\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-oldschool\">エラー処理: 今までの方法</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-trycatch\">エラー処理: C++ の例外処理</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-trycatch-constructor\">エラー処理: コンストラクタとtry-catch</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-trycatch-member\">エラー処理: メンバクラスからの `throw` </a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-trycatch-other\">エラー処理: その他見つけてしまった注意事項 </a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-summary\">エラー処理: まとめ</a>\n </li>\n\n \n </ul>\n \n <h3>Tips</h3>\n <ul>\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/overload-cast\">キャスト演算子のオーバーロード</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/accessor\">アクセサ</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/Explicit-specialization-of-after-instantiation\">Explicit specialization of “ after instantiation</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/part-of-specialize\">特定のメンバ関数だけ特殊化</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/template-specialization\">テンプレート特殊化の入り口</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/inherited-interface\">インターフェイスを継承して新しいインターフェイスを作る</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/call-base-class-function\">基底クラスのメンバ関数を呼び出したいんだけど・・・</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/not-definit-const-static-in-header\">const static なメンバ変数の実装はヘッダファイルで行わない</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/pure-virtual-definition\">純粋仮想関数は定義を持てる</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/interface-test\">インターフェイスの実験</a>\n </li>\n\n \n </ul>\n \n </div>\n \n\n</div>\n\n </div>\n <footer class=\"container\">\n <hr>\n <div class=\"row\">\n <div class=\"col\">\n <p class=\"text-right\">\n <a href=\"https://leico.github.io/TechnicalNote/atom.xml\">Atom</a>\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-8\">\n <div class=\"row\">\n <div class=\"col-md-4\">\n <figure class=\"figure\">\n <img src=\"https://leico.github.io/TechnicalNote/image/logo.png\" class=\"figure-img rounded\" width=\"200px\" height=\"auto\" alt=\"\">\n </figure>\n </div>\n <div class=\"col-md-4\">\n <h5>contact</h5>\n <ul class=\"list-unstyled\">\n <li> <a href=\"https://github.com/leico\" class=\"user-mention\">@leico</a> </li>\n <li> <a href=\"https://www.twitter.com/1_0101\">twitter</a>\n</li>\n <li> <a href=\"https://leico.github.io\">web</a> </li>\n <li> oishi[at]signalcompose.com </li>\n </ul>\n 何かありましたらお気軽に。調査、開発などのご依頼も承ります。\n </div>\n <div class=\"col-md-4\">\n <dl>\n <dt>Technical Note Vol.1 2 3</dt>\n <dd>Max for Live の項目が本になりました。</dd>\n <dd><a href=\"https://signalcompose.booth.pm/items/1575989\">Booth</a></dd>\n <dd><a href=\"https://signalcompose.stores.jp/items/5e9d0a6f515762579be0b8a9\">Stores</a></dd>\n </dl>\n </div>\n </div>\n </div>\n <div class=\"col-md-4\">\n <h5>Merchandise/Schwags</h5>\n <p><small class=\"text-muted\">支援してくれるとうれしい</small></p>\n <iframe frameborder=\"0\" height=\"220\" width=\"160\" src=\"https://leico.official.ec/items/6694858/widget/small\"></iframe>\n </div>\n </div>\n <p class=\"text-right\">\n <small class=\"text-muted\">© 2020 leico.</small>\n </p>\n\n</footer>\n\n </body>\n</html>\n",
"previous": {
"collection": "docs",
"path": "_docs/Cpp/Explicit-specialization-of-after-instantiation.md",
"id": "/Cpp/Explicit-specialization-of-after-instantiation",
"url": "/Cpp/Explicit-specialization-of-after-instantiation",
"relative_path": "_docs/Cpp/Explicit-specialization-of-after-instantiation.md",
"draft": false,
"categories": [
],
"layout": "post",
"title": "Explicit specialization of “ after instantiation",
"date": "2016-09-13 00:00:00 +0900",
"lastchange": "2017-03-06 00:13:17 +0000",
"tags": [
"C++",
"genelic",
"programming",
"template",
"meta"
],
"slug": "Explicit-specialization-of-after-instantiation",
"ext": ".md"
},
"excerpt": "<p>C++でメンバ変数へのアクセサを作る場合、最近こうやっている。</p>\n\n",
"url": "/Cpp/accessor",
"relative_path": "_docs/Cpp/accessor.md",
"draft": false,
"categories": [
],
"layout": "post",
"title": "アクセサ",
"date": "2016-09-13 00:00:00 +0900",
"lastchange": "2017-03-06 01:21:10 +0000",
"tags": [
"C++",
"class",
"member",
"overload",
"accessor"
],
"slug": "accessor",
"ext": ".md"
},
"path": "_docs/Cpp/Explicit-specialization-of-after-instantiation.md",
"id": "/Cpp/Explicit-specialization-of-after-instantiation",
"content": "<h2 id=\"maincpp\">main.cpp</h2>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"cp\">#include &lt;iostream&gt;\n</span>\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"k\">typename</span> <span class=\"nc\">T</span><span class=\"p\">&gt;</span>\n<span class=\"k\">class</span> <span class=\"nc\">C</span><span class=\"p\">{</span>\n\n <span class=\"nl\">public:</span>\n <span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){}</span>\n <span class=\"o\">~</span><span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){}</span>\n\n <span class=\"kt\">void</span> <span class=\"n\">Fx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">);</span>\n <span class=\"kt\">void</span> <span class=\"n\">Gx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">);</span>\n<span class=\"p\">};</span>\n\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"p\">&gt;</span>\n<span class=\"kr\">inline</span> <span class=\"kt\">void</span> <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"o\">::</span> <span class=\"n\">Fx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"err\">“</span><span class=\"n\">Fx</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n <span class=\"n\">Gx</span><span class=\"p\">();</span>\n<span class=\"p\">}</span>\n\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"p\">&gt;</span>\n<span class=\"kr\">inline</span> <span class=\"kt\">void</span> <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"o\">::</span> <span class=\"n\">Gx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"err\">“</span><span class=\"n\">Gx</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n\n<span class=\"kt\">int</span> <span class=\"nf\">main</span><span class=\"p\">(</span><span class=\"kt\">int</span> <span class=\"n\">argc</span><span class=\"p\">,</span> <span class=\"k\">const</span> <span class=\"kt\">char</span> <span class=\"o\">*</span> <span class=\"n\">argv</span><span class=\"p\">[])</span>\n<span class=\"p\">{</span>\n\n <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"n\">c</span><span class=\"p\">;</span>\n\n <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Fx</span><span class=\"p\">();</span>\n\n <span class=\"k\">return</span> <span class=\"mi\">0</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n</code></pre></div></div>\n\n<p>こんなソースコードで<code class=\"language-plaintext highlighter-rouge\">Explicit specialization of ‘Gx’ after instantiation</code>って怒られた。</p>\n\n<p>テンプレート特殊化の際には、関数の中で特殊化した関数を呼び出す時は、\n先に呼び出す関数を記述してあげないといけない。</p>\n\n<h2 id=\"maincpp-1\">main.cpp</h2>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"cp\">#include &lt;iostream&gt;\n</span>\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"k\">typename</span> <span class=\"nc\">T</span><span class=\"p\">&gt;</span>\n<span class=\"k\">class</span> <span class=\"nc\">C</span><span class=\"p\">{</span>\n\n <span class=\"nl\">public:</span>\n <span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){}</span>\n <span class=\"o\">~</span><span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){}</span>\n\n <span class=\"kt\">void</span> <span class=\"n\">Fx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">);</span>\n <span class=\"kt\">void</span> <span class=\"n\">Gx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">);</span>\n<span class=\"p\">};</span>\n\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"p\">&gt;</span>\n<span class=\"kr\">inline</span> <span class=\"kt\">void</span> <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"o\">::</span> <span class=\"n\">Gx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"err\">“</span><span class=\"n\">Gx</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"p\">&gt;</span>\n<span class=\"kr\">inline</span> <span class=\"kt\">void</span> <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"o\">::</span> <span class=\"n\">Fx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"err\">“</span><span class=\"n\">Fx</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n <span class=\"n\">Gx</span><span class=\"p\">();</span>\n<span class=\"p\">}</span>\n\n\n\n<span class=\"kt\">int</span> <span class=\"nf\">main</span><span class=\"p\">(</span><span class=\"kt\">int</span> <span class=\"n\">argc</span><span class=\"p\">,</span> <span class=\"k\">const</span> <span class=\"kt\">char</span> <span class=\"o\">*</span> <span class=\"n\">argv</span><span class=\"p\">[])</span>\n<span class=\"p\">{</span>\n\n <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"n\">c</span><span class=\"p\">;</span>\n\n <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Fx</span><span class=\"p\">();</span>\n\n <span class=\"k\">return</span> <span class=\"mi\">0</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n</code></pre></div></div>\n\n<p>これならコンパイルが通る。FxとGxの実装順番を変えただけ。</p>\n\n<h2 id=\"output\">output</h2>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>Fx\nGx\n</code></pre></div></div>\n",
"output": "<!DOCTYPE html>\n<html lang=\"ja\">\n <head>\n <meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n \n <meta name=\"keywords\" content=\"C++,genelic,programming,template,meta\">\n\n\n <title>Explicit specialization of “ after instantiation</title>\n\n <!-- bootstrap and jQuery include -->\n <link rel=\"stylesheet\" href=\"https://leico.github.io/TechnicalNote/css/style.css\">\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/jquery-3.1.1.min.js\"></script>\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/bootstrap/bootstrap.min.js\"></script>\n <!-- bootstrap and jQuery include -->\n\n <!-- MathJax include -->\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML\"></script>\n <script type=\"text/x-mathjax-config\">\n MathJax.Hub.Config({\n \"HTML-CSS\": {\n // デフォルトが [\"STIX\",\"TeX\"] なのを変更\n // [] にしても良い\n availableFonts: [\"TeX\"]\n , undefinedFamily: \"'Raleway', Helvetica, Arial, sans-serif\"\n }\n });\n </script>\n <!-- Google Analytics -->\n <script>\n (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');\n \n ga('create', 'UA-100782315-1', 'auto');\n ga('send', 'pageview');\n </script>\n\n <!-- Atom feed -->\n <link type=\"application/atom+xml\" rel=\"alternate\" href=\"https://leico.github.io/TechnicalNote/atom.xml\" title=\"TechnicalNote\" />\n</head>\n\n\n <body>\n <div class=\"container\">\n <div class=\"row\">\n\n\n <div class=\"col-md-8\">\n\n <header class=\"page-header\">\n <h1>Explicit specialization of “ after instantiation</h1>\n <div class=\"row\">\n\n <div class=\"col-6\">\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd>2016-09-13</dd>\n <dt>last change</dt>\n <dd>2017-03-06 00:13:17 +0000</dd>\n </dl>\n </div>\n\n <div class=\"col-6 text-right\">\n <a href=\"https://twitter.com/share\" class=\"twitter-share-button\">Tweet</a>\n <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>\n </div>\n\n </div>\n </header>\n\n <div class=\"row\">\n\n <div class=\"col-12\">\n <h2 id=\"maincpp\">main.cpp</h2>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"cp\">#include &lt;iostream&gt;\n</span>\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"k\">typename</span> <span class=\"nc\">T</span><span class=\"p\">&gt;</span>\n<span class=\"k\">class</span> <span class=\"nc\">C</span><span class=\"p\">{</span>\n\n <span class=\"nl\">public:</span>\n <span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){}</span>\n <span class=\"o\">~</span><span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){}</span>\n\n <span class=\"kt\">void</span> <span class=\"n\">Fx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">);</span>\n <span class=\"kt\">void</span> <span class=\"n\">Gx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">);</span>\n<span class=\"p\">};</span>\n\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"p\">&gt;</span>\n<span class=\"kr\">inline</span> <span class=\"kt\">void</span> <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"o\">::</span> <span class=\"n\">Fx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"err\">“</span><span class=\"n\">Fx</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n <span class=\"n\">Gx</span><span class=\"p\">();</span>\n<span class=\"p\">}</span>\n\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"p\">&gt;</span>\n<span class=\"kr\">inline</span> <span class=\"kt\">void</span> <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"o\">::</span> <span class=\"n\">Gx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"err\">“</span><span class=\"n\">Gx</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n\n<span class=\"kt\">int</span> <span class=\"nf\">main</span><span class=\"p\">(</span><span class=\"kt\">int</span> <span class=\"n\">argc</span><span class=\"p\">,</span> <span class=\"k\">const</span> <span class=\"kt\">char</span> <span class=\"o\">*</span> <span class=\"n\">argv</span><span class=\"p\">[])</span>\n<span class=\"p\">{</span>\n\n <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"n\">c</span><span class=\"p\">;</span>\n\n <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Fx</span><span class=\"p\">();</span>\n\n <span class=\"k\">return</span> <span class=\"mi\">0</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n</code></pre></div></div>\n\n<p>こんなソースコードで<code class=\"language-plaintext highlighter-rouge\">Explicit specialization of ‘Gx’ after instantiation</code>って怒られた。</p>\n\n<p>テンプレート特殊化の際には、関数の中で特殊化した関数を呼び出す時は、\n先に呼び出す関数を記述してあげないといけない。</p>\n\n<h2 id=\"maincpp-1\">main.cpp</h2>\n\n<div class=\"language-cpp highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"cp\">#include &lt;iostream&gt;\n</span>\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"k\">typename</span> <span class=\"nc\">T</span><span class=\"p\">&gt;</span>\n<span class=\"k\">class</span> <span class=\"nc\">C</span><span class=\"p\">{</span>\n\n <span class=\"nl\">public:</span>\n <span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){}</span>\n <span class=\"o\">~</span><span class=\"n\">C</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){}</span>\n\n <span class=\"kt\">void</span> <span class=\"n\">Fx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">);</span>\n <span class=\"kt\">void</span> <span class=\"n\">Gx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">);</span>\n<span class=\"p\">};</span>\n\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"p\">&gt;</span>\n<span class=\"kr\">inline</span> <span class=\"kt\">void</span> <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"o\">::</span> <span class=\"n\">Gx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"err\">“</span><span class=\"n\">Gx</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n<span class=\"k\">template</span><span class=\"o\">&lt;</span><span class=\"p\">&gt;</span>\n<span class=\"kr\">inline</span> <span class=\"kt\">void</span> <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"o\">::</span> <span class=\"n\">Fx</span><span class=\"p\">(</span><span class=\"kt\">void</span><span class=\"p\">){</span>\n <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">cout</span> <span class=\"o\">&lt;&lt;</span> <span class=\"err\">“</span><span class=\"n\">Fx</span><span class=\"err\">”</span> <span class=\"o\">&lt;&lt;</span> <span class=\"n\">std</span> <span class=\"o\">::</span> <span class=\"n\">endl</span><span class=\"p\">;</span>\n <span class=\"n\">Gx</span><span class=\"p\">();</span>\n<span class=\"p\">}</span>\n\n\n\n<span class=\"kt\">int</span> <span class=\"nf\">main</span><span class=\"p\">(</span><span class=\"kt\">int</span> <span class=\"n\">argc</span><span class=\"p\">,</span> <span class=\"k\">const</span> <span class=\"kt\">char</span> <span class=\"o\">*</span> <span class=\"n\">argv</span><span class=\"p\">[])</span>\n<span class=\"p\">{</span>\n\n <span class=\"n\">C</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span> <span class=\"n\">c</span><span class=\"p\">;</span>\n\n <span class=\"n\">c</span><span class=\"p\">.</span><span class=\"n\">Fx</span><span class=\"p\">();</span>\n\n <span class=\"k\">return</span> <span class=\"mi\">0</span><span class=\"p\">;</span>\n<span class=\"p\">}</span>\n</code></pre></div></div>\n\n<p>これならコンパイルが通る。FxとGxの実装順番を変えただけ。</p>\n\n<h2 id=\"output\">output</h2>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>Fx\nGx\n</code></pre></div></div>\n\n </div>\n\n <div class=\"col-12\">\n <hr>\n <a href=\"https://twitter.com/share\" class=\"twitter-share-button\">Tweet</a>\n <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>\n </div>\n\n </div>\n\n </div>\n \n <div class=\"col-md-4\">\n <h2>\n <a href=\"https://leico.github.io/TechnicalNote/\">\n Technical Note\n </a>\n </h2>\n\n \n\n \n\n <h3>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp\">C++ Top</a>\n </h3>\n\n \n <h3>C++11 Tips</h3>\n <ul>\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/template-template-parameter\">テンプレートテンプレートパラメータまとめ</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/is-same-base-of\">std :: is_same と std :: is_base_of の挙動を調べる</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/private-using\">using や typedef にもアクセス指定子が乗る</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/enum-class-operator\">enum class 同士の計算を僕も実装してみた</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/template-specialize-inherit\">クラステンプレートの特殊化ごとに継承元を変更する</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/variadic-template\">可変引数テンプレートパラメータいろいろ</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/using_error\">std :: conditional の判定式でエラー</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/cast_specialization\">テンプレート型変換演算子を特殊化する</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/has_trivial_assign\">has_trivial_assign は is_trivially_copy_assignable になった</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/lambda\">ラムダ式を利用する</a>\n </li>\n\n \n </ul>\n \n <h3>Error handling</h3>\n <ul>\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-oldschool\">エラー処理: 今までの方法</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-trycatch\">エラー処理: C++ の例外処理</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-trycatch-constructor\">エラー処理: コンストラクタとtry-catch</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-trycatch-member\">エラー処理: メンバクラスからの `throw` </a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-trycatch-other\">エラー処理: その他見つけてしまった注意事項 </a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/error-summary\">エラー処理: まとめ</a>\n </li>\n\n \n </ul>\n \n <h3>Tips</h3>\n <ul>\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/overload-cast\">キャスト演算子のオーバーロード</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/accessor\">アクセサ</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/Explicit-specialization-of-after-instantiation\">Explicit specialization of “ after instantiation</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/part-of-specialize\">特定のメンバ関数だけ特殊化</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/template-specialization\">テンプレート特殊化の入り口</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/inherited-interface\">インターフェイスを継承して新しいインターフェイスを作る</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/call-base-class-function\">基底クラスのメンバ関数を呼び出したいんだけど・・・</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/not-definit-const-static-in-header\">const static なメンバ変数の実装はヘッダファイルで行わない</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/pure-virtual-definition\">純粋仮想関数は定義を持てる</a>\n </li>\n\n \n\n \n\n \n \n\n <li>\n <a href=\"https://leico.github.io/TechnicalNote/Cpp/interface-test\">インターフェイスの実験</a>\n </li>\n\n \n </ul>\n \n </div>\n \n\n</div>\n\n </div>\n <footer class=\"container\">\n <hr>\n <div class=\"row\">\n <div class=\"col\">\n <p class=\"text-right\">\n <a href=\"https://leico.github.io/TechnicalNote/atom.xml\">Atom</a>\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-8\">\n <div class=\"row\">\n <div class=\"col-md-4\">\n <figure class=\"figure\">\n <img src=\"https://leico.github.io/TechnicalNote/image/logo.png\" class=\"figure-img rounded\" width=\"200px\" height=\"auto\" alt=\"\">\n </figure>\n </div>\n <div class=\"col-md-4\">\n <h5>contact</h5>\n <ul class=\"list-unstyled\">\n <li> <a href=\"https://github.com/leico\" class=\"user-mention\">@leico</a> </li>\n <li> <a href=\"https://www.twitter.com/1_0101\">twitter</a>\n</li>\n <li> <a href=\"https://leico.github.io\">web</a> </li>\n <li> oishi[at]signalcompose.com </li>\n </ul>\n 何かありましたらお気軽に。調査、開発などのご依頼も承ります。\n </div>\n <div class=\"col-md-4\">\n <dl>\n <dt>Technical Note Vol.1 2 3</dt>\n <dd>Max for Live の項目が本になりました。</dd>\n <dd><a href=\"https://signalcompose.booth.pm/items/1575989\">Booth</a></dd>\n <dd><a href=\"https://signalcompose.stores.jp/items/5e9d0a6f515762579be0b8a9\">Stores</a></dd>\n </dl>\n </div>\n </div>\n </div>\n <div class=\"col-md-4\">\n <h5>Merchandise/Schwags</h5>\n <p><small class=\"text-muted\">支援してくれるとうれしい</small></p>\n <iframe frameborder=\"0\" height=\"220\" width=\"160\" src=\"https://leico.official.ec/items/6694858/widget/small\"></iframe>\n </div>\n </div>\n <p class=\"text-right\">\n <small class=\"text-muted\">© 2020 leico.</small>\n </p>\n\n</footer>\n\n </body>\n</html>\n",
"previous": {
"collection": "docs",
"next": {
"collection": "docs",
"path": "_docs/Cpp/Explicit-specialization-of-after-instantiation.md",
"id": "/Cpp/Explicit-specialization-of-after-instantiation",
"url": "/Cpp/Explicit-specialization-of-after-instantiation",
"relative_path": "_docs/Cpp/Explicit-specialization-of-after-instantiation.md",
"draft": false,
"categories": [
],
"layout": "post",
"title": "Explicit specialization of “ after instantiation",
"date": "2016-09-13 00:00:00 +0900",
"lastchange": "2017-03-06 00:13:17 +0000",
"tags": [
"C++",
"genelic",
"programming",
"template",
"meta"
],
"slug": "Explicit-specialization-of-after-instantiation",
"ext": ".md"
},
"path": "_docs/AspDotNetCore/index.html",
"id": "/AspDotNetCore/index",
"content": "\n\n\n\n\n\n<div class=\"card-columns category-index\">\n\n\n\n<div class=\"card\">\n <h3 class=\"card-header\">Razor page </h3>\n <div class=\"card-block\">\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/prepare-directory\">Docker 内にマウントするディレクトリ構成を変更する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/23 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/24 10:58:14 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/create-project\">Razor Page プロジェクトを作成する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/23 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/27 15:08:13 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model-setup\">Model を追加するためのセットアップ</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/27 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:59 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model\">Model を追加する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/30 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:42 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model-dockerfile\">利用したモジュールをインストールした状態のコンテナイメージを作成する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/30 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:42 </dd>\n </dl>\n\n \n </div>\n</div>\n\n\n\n</div>\n\n",
"output": "<!DOCTYPE html>\n<html lang=\"ja\">\n <head>\n <meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n \n <meta name=\"keywords\" content=\"\">\n\n\n <title>ASP.NET Core</title>\n\n <!-- bootstrap and jQuery include -->\n <link rel=\"stylesheet\" href=\"https://leico.github.io/TechnicalNote/css/style.css\">\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/jquery-3.1.1.min.js\"></script>\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/bootstrap/bootstrap.min.js\"></script>\n <!-- bootstrap and jQuery include -->\n\n <!-- MathJax include -->\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML\"></script>\n <script type=\"text/x-mathjax-config\">\n MathJax.Hub.Config({\n \"HTML-CSS\": {\n // デフォルトが [\"STIX\",\"TeX\"] なのを変更\n // [] にしても良い\n availableFonts: [\"TeX\"]\n , undefinedFamily: \"'Raleway', Helvetica, Arial, sans-serif\"\n }\n });\n </script>\n <!-- Google Analytics -->\n <script>\n (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');\n \n ga('create', 'UA-100782315-1', 'auto');\n ga('send', 'pageview');\n </script>\n\n <!-- Atom feed -->\n <link type=\"application/atom+xml\" rel=\"alternate\" href=\"https://leico.github.io/TechnicalNote/atom.xml\" title=\"TechnicalNote\" />\n</head>\n\n\n <body>\n <div class=\"container\">\n \n\n<div class=\"page-header\">\n <header>\n <h1>\n \n <small> by <a href=\"https://leico.github.io/TechnicalNote/\">Technical Note</a></small>\n </h1>\n </header>\n</div>\n\n<div class=\"row\">\n <div class=\"col-xs-12\">\n \n\n\n\n\n\n<div class=\"card-columns category-index\">\n\n\n\n<div class=\"card\">\n <h3 class=\"card-header\">Razor page </h3>\n <div class=\"card-block\">\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/prepare-directory\">Docker 内にマウントするディレクトリ構成を変更する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/23 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/24 10:58:14 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/create-project\">Razor Page プロジェクトを作成する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/23 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/27 15:08:13 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model-setup\">Model を追加するためのセットアップ</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/27 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:59 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model\">Model を追加する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/30 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:42 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model-dockerfile\">利用したモジュールをインストールした状態のコンテナイメージを作成する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/30 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:42 </dd>\n </dl>\n\n \n </div>\n</div>\n\n\n\n</div>\n\n\n </div>\n</div>\n\n\n </div>\n <footer class=\"container\">\n <hr>\n <div class=\"row\">\n <div class=\"col\">\n <p class=\"text-right\">\n <a href=\"https://leico.github.io/TechnicalNote/atom.xml\">Atom</a>\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-8\">\n <div class=\"row\">\n <div class=\"col-md-4\">\n <figure class=\"figure\">\n <img src=\"https://leico.github.io/TechnicalNote/image/logo.png\" class=\"figure-img rounded\" width=\"200px\" height=\"auto\" alt=\"\">\n </figure>\n </div>\n <div class=\"col-md-4\">\n <h5>contact</h5>\n <ul class=\"list-unstyled\">\n <li> <a href=\"https://github.com/leico\" class=\"user-mention\">@leico</a> </li>\n <li> <a href=\"https://www.twitter.com/1_0101\">twitter</a>\n</li>\n <li> <a href=\"https://leico.github.io\">web</a> </li>\n <li> oishi[at]signalcompose.com </li>\n </ul>\n 何かありましたらお気軽に。調査、開発などのご依頼も承ります。\n </div>\n <div class=\"col-md-4\">\n <dl>\n <dt>Technical Note Vol.1 2 3</dt>\n <dd>Max for Live の項目が本になりました。</dd>\n <dd><a href=\"https://signalcompose.booth.pm/items/1575989\">Booth</a></dd>\n <dd><a href=\"https://signalcompose.stores.jp/items/5e9d0a6f515762579be0b8a9\">Stores</a></dd>\n </dl>\n </div>\n </div>\n </div>\n <div class=\"col-md-4\">\n <h5>Merchandise/Schwags</h5>\n <p><small class=\"text-muted\">支援してくれるとうれしい</small></p>\n <iframe frameborder=\"0\" height=\"220\" width=\"160\" src=\"https://leico.official.ec/items/6694858/widget/small\"></iframe>\n </div>\n </div>\n <p class=\"text-right\">\n <small class=\"text-muted\">© 2020 leico.</small>\n </p>\n\n</footer>\n\n </body>\n</html>\n",
"previous": null,
"excerpt": "\n\n\n\n\n\n<div class=\"card-columns category-index\">\n\n\n\n</div>\n\n",
"url": "/AspDotNetCore/index",
"relative_path": "_docs/AspDotNetCore/index.html",
"draft": false,
"categories": [
],
"layout": "category-index",
"title": "ASP.NET Core",
"slug": "index",
"ext": ".html",
"tags": [
]
},
"excerpt": "<h2 id=\"maincpp\">main.cpp</h2>\n\n",
"url": "/Cpp/Explicit-specialization-of-after-instantiation",
"relative_path": "_docs/Cpp/Explicit-specialization-of-after-instantiation.md",
"draft": false,
"categories": [
],
"layout": "post",
"title": "Explicit specialization of “ after instantiation",
"date": "2016-09-13 00:00:00 +0900",
"lastchange": "2017-03-06 00:13:17 +0000",
"tags": [
"C++",
"genelic",
"programming",
"template",
"meta"
],
"slug": "Explicit-specialization-of-after-instantiation",
"ext": ".md" }, "path": "_docs/AspDotNetCore/index.html", "id": "/AspDotNetCore/index", "content": "\n\n\n\n\n\n<div class=\"card-columns category-index\">\n\n\n\n<div class=\"card\">\n <h3 class=\"card-header\">Razor page </h3>\n <div class=\"card-block\">\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/prepare-directory\">Docker 内にマウントするディレクトリ構成を変更する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/23 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/24 10:58:14 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/create-project\">Razor Page プロジェクトを作成する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/23 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/27 15:08:13 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model-setup\">Model を追加するためのセットアップ</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/27 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:59 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model\">Model を追加する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/30 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:42 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model-dockerfile\">利用したモジュールをインストールした状態のコンテナイメージを作成する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/30 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:42 </dd>\n </dl>\n\n \n </div>\n</div>\n\n\n\n</div>\n\n", "output": "<!DOCTYPE html>\n<html lang=\"ja\">\n <head>\n <meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n \n <meta name=\"keywords\" content=\"\">\n\n\n <title>ASP.NET Core</title>\n\n <!-- bootstrap and jQuery include -->\n <link rel=\"stylesheet\" href=\"https://leico.github.io/TechnicalNote/css/style.css\">\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/jquery-3.1.1.min.js\"></script>\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/bootstrap/bootstrap.min.js\"></script>\n <!-- bootstrap and jQuery include -->\n\n <!-- MathJax include -->\n <script type=\"text/javascript\" src=\"https://leico.github.io/TechnicalNote/js/MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML\"></script>\n <script type=\"text/x-mathjax-config\">\n MathJax.Hub.Config({\n \"HTML-CSS\": {\n // デフォルトが [\"STIX\",\"TeX\"] なのを変更\n // [] にしても良い\n availableFonts: [\"TeX\"]\n , undefinedFamily: \"'Raleway', Helvetica, Arial, sans-serif\"\n }\n });\n </script>\n <!-- Google Analytics -->\n <script>\n (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');\n \n ga('create', 'UA-100782315-1', 'auto');\n ga('send', 'pageview');\n </script>\n\n <!-- Atom feed -->\n <link type=\"application/atom+xml\" rel=\"alternate\" href=\"https://leico.github.io/TechnicalNote/atom.xml\" title=\"TechnicalNote\" />\n</head>\n\n\n <body>\n <div class=\"container\">\n \n\n<div class=\"page-header\">\n <header>\n <h1>\n \n <small> by <a href=\"https://leico.github.io/TechnicalNote/\">Technical Note</a></small>\n </h1>\n </header>\n</div>\n\n<div class=\"row\">\n <div class=\"col-xs-12\">\n \n\n\n\n\n\n<div class=\"card-columns category-index\">\n\n\n\n<div class=\"card\">\n <h3 class=\"card-header\">Razor page </h3>\n <div class=\"card-block\">\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/prepare-directory\">Docker 内にマウントするディレクトリ構成を変更する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/23 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/24 10:58:14 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/create-project\">Razor Page プロジェクトを作成する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/23 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/27 15:08:13 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model-setup\">Model を追加するためのセットアップ</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/27 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:59 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model\">Model を追加する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/30 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:42 </dd>\n </dl>\n\n \n\n \n\n \n \n <h5>\n <a href=\"https://leico.github.io/TechnicalNote/AspDotNetCore/add-model-dockerfile\">利用したモジュールをインストールした状態のコンテナイメージを作成する</a>\n </h5>\n <dl class=\"dl-horizontal\">\n <dt>created</dt>\n <dd> 2020/07/30 00:00:00 </dd>\n <dt>lastchange</dt>\n <dd> 2020/07/30 20:30:42 </dd>\n </dl>\n\n \n </div>\n</div>\n\n\n\n</div>\n\n\n </div>\n</div>\n\n\n </div>\n <footer class=\"container\">\n <hr>\n <div class=\"row\">\n <div class=\"col\">\n <p class=\"text-right\">\n <a href=\"https://leico.github.io/TechnicalNote/atom.xml\">Atom</a>\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-8\">\n <div class=\"row\">\n <div class=\"col-md-4\">\n <figure class=\"figure\">\n <img src=\"https://leico.github.io/TechnicalNote/image/logo.png\" class=\"figure-img rounded\" width=\"200px\" height=\"auto\" alt=\"\">\n </figure>\n </div>\n <div class=\"col-md-4\">\n <h5>contact</h5>\n <ul class=\"list-unstyled\">\n <li> <a href=\"https://github.com/leico\" class=\"user-mention\">@leico</a> </li>\n <li> <a href=\"https://www.twitter.com/1_0101\">twitter</a>\n</li>\n <li> <a href=\"https://leico.github.io\">web</a> </li>\n <li> oishi[at]signalcompose.com </li>\n </ul>\n 何かありましたらお気軽に。調査、開発などのご依頼も承ります。\n </div>\n <div class=\"col-md-4\">\n <dl>\n <dt>Technical Note Vol.1 2 3</dt>\n <dd>Max for Live の項目が本になりました。</dd>\n <dd><a href=\"https://signalcompose.booth.pm/items/1575989\">Booth</a></dd>\n <dd><a href=\"https://signalcompose.stores.jp/items/5e9d0a6f515762579be0b8a9\">Stores</a></dd>\n </dl>\n </div>\n </div>\n </div>\n <div class=\"col-md-4\">\n <h5>Merchandise/Schwags</h5>\n <p><small class=\"text-muted\">支援してくれるとうれしい</small></p>\n <iframe frameborder=\"0\" height=\"220\" width=\"160\" src=\"https://leico.official.ec/items/6694858/widget/small\"></iframe>\n </div>\n </div>\n <p class=\"text-right\">\n <small class=\"text-muted\">© 2020 leico.</small>\n </p>\n\n</footer>\n\n </body>\n</html>\n", "previous": null, "excerpt": "\n\n\n\n\n\n<div class=\"card-columns category-index\">\n\n\n\n</div>\n\n", "url": "/AspDotNetCore/index", "relative_path": "_docs/AspDotNetCore/index.html", "draft": false, "categories": [
], "layout": "category-index", "title": "ASP.NET Core", "slug": "index", "ext": ".html", "tags": [
] }
{ "extname": ".jpg", "basename": "01_short", "path": "_docs/QMK/images/write-vitamins-avrdude/01_short.jpg", "modified_time": "2020-07-31 11:57:13 +0900", "collection": "docs", "name": "01_short.jpg" }
"_docs"
nil
true
docsがsite.html_pages
やsite.posts
のようなものになるらしい。
各々のCollectionを区別する方法はlabel
やrelative_directory
を用いるのがよさそう。