## Struct template member_base

hamigaki::member_base —

memberの基底クラス。

## Synopsis

    template<typename Struct, typename Type, Type Struct::* PtrToMember>
    struct member_base {
      // types
      typedef Struct struct_type;
      typedef Type   member_type;

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

## Description

### `member_base` operators

1.     Type& operator()(Struct& x) const;

   Returns: | `x.*PtrToMember`

2.     const Type& operator()(const Struct& x) const;

   Returns: | `x.*PtrToMember`

| 製作著作 © 2006, 2007 Takeshi Mouri