]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/metaparse/doc/metaprogramming_value.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / metaparse / doc / metaprogramming_value.qbk
CommitLineData
7c673cae
FG
1[#metaprogramming_value]
2[section Template metaprogramming value]
3
4A ['template metaprogramming value] is a
5[link nullary_metafunction nullary template metafunction] returning itself.
6For example:
7
8 struct void_
9 {
10 using type = void_;
11 };
12
13This template metaprogramming value is called `void_`. It is a nullary
14metafunction returning itself as its result. Because of this, it can be treated
15as a nullary metafunction and evaluated any number of times. For example
16`void_::type::type::type` is still `void_`.
17
18[endsect]
19