File: using.yo

package info (click to toggle)
c%2B%2B-annotations 8.2.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 11,804 kB
  • ctags: 2,845
  • sloc: cpp: 15,418; makefile: 2,473; ansic: 165; perl: 90; sh: 29
file content (21 lines) | stat: -rw-r--r-- 957 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
In the previous sections the definition and some of the features of typelists
were discussed. Most bf(C++) programmers consider typelists both
exciting and an intellectual chalenge, honing their skills in the area of
recursive programming.

But there's more to typelist than a mere intellectual challenge. In the final
sections of this chapter the following topics are covered:
will be covered:
    itemization(
    it() Creating classes from a typelist.nl()
       Here the aim is to construct a new class consisting of instantiations
        of an existing basic template for each of the types mentioned in a
        provided typelist;
    it() Accessing data members from the thus constructed conglomerate class
        by index, rather than name.
    )

Again, much of the material covered by these sections was inspired by
        hi(Alexandrescu, A.)
    Alexandrescu's (2001) book, this time combined with the features offered
by the C++0x standard.