Classes | |
| class | array |
| boost::array に例外を投げさせないようにしたバージョン More... | |
| class | compare_methods |
| 比較演算子定義 mixin More... | |
| class | hash |
| コンテナは std::pair< Key, Value > を格納可能でなければならない。 More... | |
| struct | hash::key_comp |
| class | list |
| 最大サイズ MaxSize 分の領域を配列として静的確保し、 その範囲内でリストをやり繰りしていく。 More... | |
| class | list_hash |
| hash と、list を組み合わせた標準ハッシュ More... | |
| struct | list_link |
| ポインタの後ろに Value を配置する ( Link を Node が継承することで同意になる ) ことで、 uintptr_t の配列として格納領域を取れば、 アラインが適切にとられる仕組みになっている。 More... | |
| struct | list_node |
| 実際に値を格納するための型 More... | |
| class | abstruct_list_node_pool |
| サブクラスはコンストラクタで init() を呼ばなければならない。 More... | |
| class | list_node_pool |
| ListNode 専用プール. More... | |
| class | lodge_list |
| list_node_pool からノードを借りてリンクリストをつなげていく。 利用が終わったら、list_node_pool にノードを返す。 More... | |
| class | lodge_list::iterator_base |
| class | lodge_list::const_iterator |
| 定数参照双方向イテレーター More... | |
| class | lodge_list::iterator |
| 双方向イテレーター More... | |
| class | string |
| ただの配列なので、バイナリファイルへの埋め込みも簡単。 与えられた文字列が最大文字数を超えた場合、クランプされる。 More... | |
| class | vector |
| 現在、データは、4 byte アラインしか保障されません。 SIMD 用データなど 4 byte ではアラインが足りない場合は、今後拡張するので、 言ってください。 やり方としては、buffer_ をアライン分余分にとって、 実行時に this を見て、必要オフセットを設定しバッファを利用する予定です。 More... | |
Functions | |
| template<typename T> void | destruct (T &t) |
| T がデストラクタを呼ぶ必要のあるクラスであった場合のみデストラクタを呼ぶ. | |
|
||||||||||
|
T がデストラクタを呼ぶ必要のあるクラスであった場合のみデストラクタを呼ぶ.
Definition at line 80 of file destruct.h. Referenced by gslib::static_container::lodge_list< std::pair< Key, Value > >::erase().
00080 {
00081 boost::mpl::if_<
00082 boost::is_POD< T >,
00083 detail::through< T >,
00084 detail::destructor_caller< T > >::type::call( t );
00085 }
|
1.3.6