「More C++ Idioms/整数から型(Int-To-Type)」の版間の差分

削除された内容 追加された内容
New page: =<center>Int-To-Type</center>= === Intent === * To treat an integral constant as a type at compile-time. * To achieve static dispatching based on constant integral values. === Also Known ...
 
78 行
=== Known Uses ===
* Integral constant wrappers in Boost.MPL bool_, int_, long_
* [[www.boost.org/doc/libs/1_36_0/libs/mpl/doc/tutorial/representing-dimensions.html Represeting Dimensions in Dimensional Analysis]]
 
=== Related Idioms ===