2010-10-01から1ヶ月間の記事一覧

平坦性問題

携帯が壊れたので、いっそのことつるぺたスマートなやつにした。 小ぶりだが形のいい膨らみ(注:ボタン)や、ささやかに主張する突起(注:ボタン)もないので入力がずれる。

呼出をトレースして実行時間を取る

Boost.ChronoでTrace - Faith and Brave - C++で遊ぼう chronoがライブラリにまだ入っていないので導入はちょっと・・・ ということで作った。 車輪の再発明臭いけど気にしない。elapsed_time.hpp #pragma once #include <algorithm> #include <boost/current_function.hpp> #include <boost/format.hpp> #include <boost/function.hpp> #in</boost/function.hpp></boost/format.hpp></boost/current_function.hpp></algorithm>…

Intelコンパイラ(11.1.048)でPSTADE_OVEN_FOREACHが使えなかった

msvc9.0で書いてたコードをicl11.1でコンパイルしてみようとしたら、 window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = …