タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

C++とboostに関するkiuiのブックマーク (1)

  • The Boost Format library

    <boost/format.hpp> format クラスは printf に似た、ユーザ定義型も扱える型安全な書式化処理を提供する。 (このライブラリは他の boost ライブラリに依存しない) Synopsis How it works Examples Syntax printf format-specification syntax Incompatibilities with printf Manipulators and the internal stream state User-defined types Exceptions Alternatives Synopsis format オブジェクトは書式文字列から構築され、その後 operator% を繰り返し呼び出されることで引数を与えられる。 それぞれの引数は文字列に変換され、書式文字列に従って順に一つの文字列へと結合さ

    kiui
    kiui 2006/02/07
    boost::format の書式
  • 1