2012-12-13から1日間の記事一覧
November CTP of the C++ compilerのお試しの最後です。 Default template arguments for function templatesを使ってみます。 といっても「C++ Primer 第5版」のサンプルが簡単でわかりやすいのでそのまま入力です。 template <typename T, typename F = std::less<T>> int compare(const T &v1, c</typename>…