タグ

ブックマーク / text.baldanders.info (1)

  • Struct タグについて

    たとえば struct で構造化されている情報を特定のファイルやデータベースに出力したり,逆にファイルやデータベースの情報を struct に流し込みたい場合に struct の各フィールドに目印になる情報があると便利である。 この目印として機能するのが struct タグである1。 struct タグは以下のように記述する。 By convention, tag strings are a concatenation of optionally space-separated key:"value" pairs. Each key is a non-empty string consisting of non-control characters other than space (U+0020 ' '), quote (U+0022 '"'), and colon (U+003A ':

    Struct タグについて
  • 1