構造体 テンプレート mist::implement_operator_and< T >

ビットAND演算子 [詳細]

#include <operators.h>

+ mist::implement_operator_and< T >に対する継承グラフ

説明

template<class T>
struct mist::implement_operator_and< T >

ビットAND演算子

「&=」オペレータを実装しているクラスに対して,2項演算子の「&」を自動的に実装する

注意
「&=」オペレータは,必ず実装しておく必要があります.
引数
T… 本オペレータを実装するクラス
使用例
class hoge : mist::implement_operator_and< hoge >
{
hoge &operator &=( const hoge &h )
{
... 処理を実装する ...
return( *this );
}
};

この構造体の説明は次のファイルから生成されました:

Generated on Wed Nov 12 2014 19:44:29 for MIST by doxygen 1.8.1.2