この記事の内容はVisual C++公式ブログと同様になります。 Learn C++ Concepts with Visual Studio and the WSL | Visual C++ Team Blog 基本はVisual C++公式ブログ通りに行えばよいのですが、VS上でのremote buildの方法が別の記事になっていたり、bash側のssh serviceを動かすためにwindows側のサービスを1つ停止させなければいけないなど、一手間あったため備忘録として手順をまとめます。 この記事のゴール 上記のブログのサンプルコードと同じですが、以下のコードがVS上からビルド、デバッグできることを目標にします。 #include <iostream> #include <type_traits> template<class T> concept bool Integral = st
![Visual Studio 2017と Bash on Windows を使ってC++に提案中のコンセプトを試す - C++と色々](https://cdn-ak-scissors.b.st-hatena.com/image/square/5c170f05574c380d4798d777de800ac692ab8b01/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fn%2Fnekko1119%2F20170413%2F20170413025754.png)