2020-01-01から1年間の記事一覧
Githubのwikiでドキュメントを公開しようとしたら、脚注が使用できなかったので、htmlに変換することにした。変換にはPandocを用いた。 pandoc -f markdown -t html --template=template --mathjax ファイル名.md > ファイル名.html ついでに、 Githubの外観…
jsのように添え字が欲しいことがあったので書いた。 #include <type_traits> #include <algorithm> struct result_of { template <class T, class R> struct y { using type = R; static inline constexpr bool value = T::value; }; template <class C, class F, class... Args> static auto f() -> y</class></class></algorithm></type_traits>