タグ

2011年1月17日のブックマーク (2件)

  • Express - Node.js web application framework

    Express 5.0 beta documentation is now available. The beta API documentation is a work in progress. For information on what’s in the release, see the Express release history. Web Applications Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. APIs With a myriad of HTTP utility methods and middleware at your dis

    nyamadandan
    nyamadandan 2011/01/17
    Node.jsのWebフレームワーク,ミドルウェアライブラリのConnectを使用.
  • C++0xの新機能によってユーザーが受ける恩恵

    どうも執筆がはかどらないので、気分転換に、C++0xの新機能によって、一般ユーザーのコードがどのように便利になるかを示してみようと思う。 問題:以下のような仕様の関数printを実装し、また実際に呼び出しなさい。 宣言:関数printは、std::vector< std::string > const &を仮引数に取り、std::vector< std::string >::const_iteratorを戻り値の型として返す。 体:関数printは、仮引数のvectorの要素をすべて標準出力に出力する。 戻り値:v.cbegin()。 C++03の範囲(ただし、cbegin、cendあり)でこれを実装すると、以下のようになる。 std::vector< std::string >::const_iterator print( std::vector< std::string > cons

    nyamadandan
    nyamadandan 2011/01/17
    俺の知ってるC++と違う…