~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty-proposed

« back to all changes in this revision

Viewing changes to yo/advancedtemplates/length.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2013-05-30 13:32:18 UTC
  • mfrom: (1.1.24)
  • Revision ID: package-import@ubuntu.com-20130530133218-k39mr5uredd093jr
Tags: 9.7.2-1
New upstream release, repairs several minor left-over flaws.
This release incorporates 9.7.0 and 9.7.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    )
19
19
    The algorithm uses recursion to define the length of a tt(TypeList). In
20
20
executable bf(C++) recursion could also be used in comparable situations. For
21
 
example recursion can be used to determine the length of a plain bf(C)
22
 
(ascii-Z) string:
 
21
example recursion can be used to determine the length of an NTBS:
23
22
        verb(
24
23
    size_t c_length(char const *cp)
25
24
    {