2014-03-26から1日間の記事一覧
http://ideone.com/5A9Zxg をC++で置き換えてみた http://ideone.com/e5xgrV C++14版 http://melpon.org/wandbox/permlink/3vZnPjuGYRG6Hyvj http://melpon.org/wandbox/permlink/cTbebcWZhqmdFz77 (2014,4/5) 今気が付いたのですが、単位がおかしいですね・…
昔、constexpr文字列を使ったときと同様のノリで static constexprメンバ変数として数字配列を作成したらリンクエラーがでました class Hoge{ public: static constexpr auto array = {1,2,3,4}; // Error static constexpr auto word = (char*)"hoge"; // O…