hamigaki.png

前のページ 上に戻る ホーム 次のページ

Struct template padding

hamigaki::padding —

struct_traitsでパディングを表現するのに使用する。

Synopsis

template<std::size_t Size> 
struct padding {
  // types
  typedef void struct_type;
  typedef void member_type;

  // static constants
  static const endianness endian = native;

  // operators
  const Type& operator()(const Struct&) const;
};

Description

padding operators

  1. const Type& operator()(const Struct& x) const;
    Effects: なし
製作著作 © 2006, 2007 Takeshi Mouri

前のページ 上に戻る ホーム 次のページ